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 fe6f9c5fb7
commit a22c234e82
27 changed files with 889 additions and 36 deletions
+14 -3
View File
@@ -6459,10 +6459,21 @@ static CGSize kThreadListBarButtonItemImageSize;
self->currentAlert = nil;
// Acknowledge the existence of all devices
self->unknownDevices = nil;
[self startActivityIndicator];
// And resend pending messages
[self resendAllUnsentMessages];
if (![self.mainSession.crypto isKindOfClass:[MXLegacyCrypto class]])
{
MXLogFailure(@"[RoomVC] eventDidChangeSentState: Only legacy crypto supports manual setting of known devices");
return;
}
[(MXLegacyCrypto *)self.mainSession.crypto setDevicesKnown:self->unknownDevices complete:^{
self->unknownDevices = nil;
[self stopActivityIndicator];
// And resend pending messages
[self resendAllUnsentMessages];
}];
}
}]];