mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-20 00:24:43 +02:00
Shields: Shields in one self room should be green if I have no other device
This commit is contained in:
@@ -245,7 +245,8 @@
|
||||
|
||||
double trustedDevicesPercentage = usersTrustLevelSummary.trustedDevicesProgress.fractionCompleted;
|
||||
|
||||
if (trustedDevicesPercentage >= 1.0)
|
||||
if (trustedDevicesPercentage >= 1.0
|
||||
|| usersTrustLevelSummary.trustedDevicesProgress.totalUnitCount == 0)
|
||||
{
|
||||
roomEncryptionTrustLevel = RoomEncryptionTrustLevelTrusted;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user