Warn unknown devices: treat MXDeviceUnknown as MXDeviceUnverified

This commit is contained in:
manuroe
2017-02-14 11:30:49 +01:00
parent fa0c374e66
commit cb8a1a8d39
2 changed files with 5 additions and 1 deletions
@@ -1,5 +1,6 @@
/*
Copyright 2016 OpenMarket Ltd
Copyright 2017 Vector Creations Ltd
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
@@ -51,6 +52,7 @@ NSString *const kRoomEncryptedDataBubbleCellTapOnEncryptionIcon = @"kRoomEncrypt
{
switch (deviceInfo.verified)
{
case MXDeviceUnknown:
case MXDeviceUnverified:
{
encryptionIcon = @"e2e_warning";