mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-29 20:56:57 +02:00
Handle correctly clear cache option.
This commit is contained in:
@@ -381,6 +381,8 @@ static MatrixSDKHandler *sharedHandler = nil;
|
||||
// Force back to Recents list if room details is displayed (Room details are not available until the end of initial sync)
|
||||
[[AppDelegate theDelegate].masterTabBarController popRoomViewControllerAnimated:NO];
|
||||
|
||||
[[MXKRoomDataSourceManager sharedManagerForMatrixSession:self.mxSession] reset];
|
||||
|
||||
if (clearCache) {
|
||||
// clear the media cache
|
||||
[MXKMediaManager clearCache];
|
||||
|
||||
Reference in New Issue
Block a user