mirror of
https://github.com/element-hq/element-android
synced 2024-11-27 20:06:51 +03:00
code quality
This commit is contained in:
parent
f0a9be2ec7
commit
3cf341c3bf
1 changed files with 0 additions and 4 deletions
|
@ -92,10 +92,6 @@ class HomeDetailFragment @Inject constructor(
|
|||
state.unknownSessions.invoke()?.let { unknownDevices ->
|
||||
// Timber.v("## Detector Triggerred in fragment - ${unknownDevices.firstOrNull()}")
|
||||
if (unknownDevices.firstOrNull()?.currentSessionTrust == true) {
|
||||
Timber.v("## Detector - ${unknownDevices.size} Unknown sessions")
|
||||
unknownDevices.forEachIndexed { index, detectionInfo ->
|
||||
Timber.v("## Detector - #$index deviceId:${detectionInfo.deviceInfo.deviceId} lastSeenTs:${detectionInfo.deviceInfo.lastSeenTs} is New: ${detectionInfo.isNew}")
|
||||
}
|
||||
val uid = "review_login"
|
||||
alertManager.cancelAlert(uid)
|
||||
val olderUnverified = unknownDevices.filter { !it.isNew }
|
||||
|
|
Loading…
Reference in a new issue