Handle correctly clear cache option.

This commit is contained in:
giomfo
2015-04-12 01:44:25 +02:00
parent 7f2d5d1138
commit 27c8925428
3 changed files with 23 additions and 5 deletions
+2
View File
@@ -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];