Merge pull request #6985 from vector-im/andy/complete_crypto

Complete MXCryptoV2 implementation
This commit is contained in:
Anderas
2022-10-31 17:56:05 +00:00
committed by GitHub
27 changed files with 151 additions and 92 deletions
@@ -952,7 +952,10 @@ static NSArray<NSNumber*> *initialSyncSilentErrorsHTTPStatusCodes;
{
// Force a reload of device keys at the next session start.
// This will fix potential UISIs other peoples receive for our messages.
[mxSession.crypto resetDeviceKeys];
if ([mxSession.crypto isKindOfClass:[MXLegacyCrypto class]])
{
[(MXLegacyCrypto *)mxSession.crypto resetDeviceKeys];
}
// Clean other stores
[mxSession.scanManager deleteAllAntivirusScans];