mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-19 08:03:50 +02:00
Key backup: Check backup update on the homeserver
when opening the home or the settings screen in order to display the right banner and settings.
This commit is contained in:
@@ -152,6 +152,9 @@ NSString *const kRecentsDataSourceTapOnDirectoryServerChange = @"kRecentsDataSou
|
||||
|
||||
- (void)registerKeyBackupStateDidChangeNotification
|
||||
{
|
||||
// Check homeserver update in background
|
||||
[self.mxSession.crypto.backup forceRefresh:nil failure:nil];
|
||||
|
||||
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(keyBackupStateDidChangeNotification:) name:kMXKeyBackupDidStateChangeNotification object:nil];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user