Force back to Recents on clear cache

This commit is contained in:
giomfo
2014-12-23 16:06:08 +01:00
parent 1d90558698
commit dccc7ecaa9
2 changed files with 4 additions and 7 deletions
+3
View File
@@ -278,6 +278,9 @@ static MatrixHandler *sharedHandler = nil;
[self closeSession];
notifyOpenSessionFailure = NO;
// 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];
if (clearCache) {
[_mxFileStore deleteAllData];
}