Bug Fix: Recents getting stuck after settings changes

This commit is contained in:
giomfo 2014-12-10 12:07:00 +01:00
parent fab14dc592
commit 90da3f549b

View file

@ -301,10 +301,12 @@ static MatrixHandler *sharedHandler = nil;
}
- (void)forceInitialSync {
[self closeSession];
notifyOpenSessionFailure = NO;
if (self.accessToken) {
[self openSession];
if (self.isInitialSyncDone) {
[self closeSession];
notifyOpenSessionFailure = NO;
if (self.accessToken) {
[self openSession];
}
}
}