Feature/4889 deactivate rust for prod

This commit is contained in:
JanNiklas Grabowski
2023-06-28 05:59:03 +00:00
committed by Frank Rotermund
parent 5da280a961
commit 982879c47e
27 changed files with 889 additions and 36 deletions
+21 -9
View File
@@ -370,16 +370,28 @@ CallAudioRouteMenuViewDelegate>
{
typeof(self) self = weakSelf;
self->currentAlert = nil;
// Acknowledge the existence of all devices
[self startActivityIndicator];
if (![self.mainSession.crypto isKindOfClass:[MXLegacyCrypto class]])
{
MXLogFailure(@"[CallViewController] call: Only legacy crypto supports manual setting of known devices");
return;
}
[(MXLegacyCrypto *)self.mainSession.crypto setDevicesKnown:unknownDevices complete:^{
// Retry the call
if (call.isIncoming)
{
[call answer];
}
else
{
[call callWithVideo:call.isVideoCall];
}
[self stopActivityIndicator];
// Retry the call
if (call.isIncoming)
{
[call answer];
}
else
{
[call callWithVideo:call.isVideoCall];
}
}];
}
}]];