Skip to content

Commit 88f7439

Browse files
author
Maxime NATUREL
committed
Updating comment to clarify intention
1 parent f014866 commit 88f7439

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vector/src/main/java/im/vector/app/features/home/UnknownDeviceDetectorSharedViewModel.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ class UnknownDeviceDetectorSharedViewModel @AssistedInject constructor(
104104
// Timber.v("## Detector trigger canCrossSign ${pInfo.get().selfSigned != null}")
105105
infoList
106106
.filter { info ->
107-
// filter verified session, by checking the crypto device info
107+
// filter out verified sessions or those which do not support encryption (i.e. without crypto info)
108108
cryptoList.firstOrNull { info.deviceId == it.deviceId }?.isVerified?.not().orFalse()
109109
}
110110
// filter out ignored devices

0 commit comments

Comments
 (0)