diff --git a/matrixConsole/API/MediaManager.m b/matrixConsole/API/MediaManager.m index 2e9991c05..07c12b61c 100644 --- a/matrixConsole/API/MediaManager.m +++ b/matrixConsole/API/MediaManager.m @@ -384,6 +384,8 @@ static NSMutableDictionary* uploadTableById = nil; } mediaCachePath = nil; + // force to recompute the cache size at next cacheSize call + storageCacheSize = 0; } + (NSString*)getCachePath {