mirror of
https://github.com/vector-im/element-ios.git
synced 2024-09-29 07:42:40 +00:00
Bug Fix: Recents getting stuck after settings changes
This commit is contained in:
parent
fab14dc592
commit
90da3f549b
1 changed files with 6 additions and 4 deletions
|
@ -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];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue