From dad405a91ea8e5d35727546f809842975cec1499 Mon Sep 17 00:00:00 2001 From: manuroe Date: Tue, 23 Dec 2014 17:48:43 +0100 Subject: [PATCH] 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 --- matrixConsole/MatrixHandler.m | 2 ++ 1 file changed, 2 insertions(+) diff --git a/matrixConsole/MatrixHandler.m b/matrixConsole/MatrixHandler.m index 7db555f08..fccc1a0a7 100644 --- a/matrixConsole/MatrixHandler.m +++ b/matrixConsole/MatrixHandler.m @@ -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;