Cross-signing: Allow to verify each device of users with no cross-signing

Fix #3138
This is implemented by adding a new `UserEncryptionTrustLevel` value: `UserEncryptionTrustLevelNoCrossSigning`
This commit is contained in:
manuroe
2020-04-23 14:57:56 +02:00
parent f5d5c6b79b
commit 6889f6d326
5 changed files with 15 additions and 3 deletions
@@ -842,6 +842,7 @@
statusText = NSLocalizedStringFromTable(@"room_participants_action_security_status_verified", @"Vector", nil);
break;
case UserEncryptionTrustLevelNormal:
case UserEncryptionTrustLevelNoCrossSigning:
statusText = NSLocalizedStringFromTable(@"room_participants_action_security_status_verify", @"Vector", nil);
break;
case UserEncryptionTrustLevelWarning:
@@ -875,6 +876,7 @@
switch (self.encryptionTrustLevel) {
case UserEncryptionTrustLevelWarning:
case UserEncryptionTrustLevelNormal:
case UserEncryptionTrustLevelNoCrossSigning:
case UserEncryptionTrustLevelTrusted:
[encryptionInformation appendString:NSLocalizedStringFromTable(@"room_participants_security_information_room_encrypted", @"Vector", nil)];
break;