You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 12, 2022. It is now read-only.
Hello. We want to offer offline experience and we use the MXFileStore in the app delegate:
...
// Prepare account manager
MXKAccountManager *accountManager = [MXKAccountManager sharedManager];
// Use MXFileStore as MXStore to permanently store events.
accountManager.storeClass = [MXFileStore class];
[accountManager prepareSessionForActiveAccounts];
....
Then to load the recents we use this code:
// Create a data source for managing data
MXKRecentsDataSource *recentsDataSource = [[MXKRecentsDataSource alloc] initWithMatrixSession:mxSession];
// Create the view controller that will display it
MXKRecentListViewController *recentListViewController = [[MXKRecentListViewController alloc] init];
[recentListViewController displayList:recentsDataSource];
But without internet connection any room is shown... Why?
P.S. The session comes form the AccountManager.shared.account.first.mxSession
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hello. We want to offer offline experience and we use the MXFileStore in the app delegate:
Then to load the recents we use this code:
But without internet connection any room is shown... Why?
P.S. The session comes form the AccountManager.shared.account.first.mxSession
The text was updated successfully, but these errors were encountered: