CryptoV2 changes

This commit is contained in:
Andy Uhnak
2022-10-27 12:33:33 +01:00
parent 6fad57f0a5
commit 7578245268
6 changed files with 41 additions and 24 deletions
@@ -118,7 +118,10 @@
self.selectedRoom = [MXRoom loadRoomFromStore:fileStore withRoomId:roomID matrixSession:session];
// Do not warn for unknown devices. We have cross-signing now
((MXLegacyCrypto *)session.crypto).warnOnUnknowDevices = NO;
if ([session.crypto isKindOfClass:[MXLegacyCrypto class]])
{
((MXLegacyCrypto *)session.crypto).warnOnUnknowDevices = NO;
}
MXWeakify(self);
[self.selectedRoom sendTextMessage:intent.content