mirror of
https://github.com/vector-im/element-ios.git
synced 2024-09-30 08:12:40 +00:00
SYIOS-26 Make the app usable when starting the app offline.
Added another callback parameter to [MXSession start]: onStoreDataReady to indicate when the app can start to work offline
This commit is contained in:
parent
dc69136aef
commit
dad405a91e
1 changed files with 2 additions and 0 deletions
|
@ -119,6 +119,8 @@ static MatrixHandler *sharedHandler = nil;
|
|||
|
||||
// Launch mxSession
|
||||
[self.mxSession start:^{
|
||||
// @TODO (SYIOS-26)
|
||||
} onServerSyncDone:^{
|
||||
self.isInitialSyncDone = YES;
|
||||
[self setUserPresence:MXPresenceOnline andStatusMessage:nil completion:nil];
|
||||
_isResumeDone = YES;
|
||||
|
|
Loading…
Reference in a new issue