mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-23 18:12:44 +02:00
Complete MXCryptoV2 implementation
This commit is contained in:
@@ -274,7 +274,12 @@
|
||||
{
|
||||
// Acknowledge the existence of all devices before leaving this screen
|
||||
[self startActivityIndicator];
|
||||
[mxSession.crypto setDevicesKnown:usersDevices complete:^{
|
||||
if (![self.mainSession.crypto isKindOfClass:[MXLegacyCrypto class]])
|
||||
{
|
||||
MXLogFailure(@"[UsersDevicesViewController] onDone: Only legacy crypto supports manual setting of known devices");
|
||||
return;
|
||||
}
|
||||
[(MXLegacyCrypto *)mxSession.crypto setDevicesKnown:usersDevices complete:^{
|
||||
|
||||
[self stopActivityIndicator];
|
||||
[self dismissViewControllerAnimated:YES completion:nil];
|
||||
|
||||
Reference in New Issue
Block a user