revert '5bc3255dfe7b0a56aa3ce4b8056015b438653fed' 4889_deactivate_rust_for_prod

This commit is contained in:
JanNiklas Grabowski
2023-07-17 08:54:43 +00:00
parent db1787303c
commit 485f944c6c
26 changed files with 36 additions and 888 deletions
+3 -14
View File
@@ -6459,21 +6459,10 @@ static CGSize kThreadListBarButtonItemImageSize;
self->currentAlert = nil;
// Acknowledge the existence of all devices
[self startActivityIndicator];
self->unknownDevices = nil;
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];
}];
// And resend pending messages
[self resendAllUnsentMessages];
}
}]];