mirror of
https://github.com/element-hq/element-android
synced 2024-11-28 05:31:21 +03:00
Fix verification not working
This commit is contained in:
parent
046699bc84
commit
950c7f4a23
1 changed files with 8 additions and 7 deletions
|
@ -171,9 +171,10 @@ internal class DefaultCryptoService @Inject constructor(
|
||||||
EventType.STATE_ROOM_ENCRYPTION -> onRoomEncryptionEvent(roomId, event)
|
EventType.STATE_ROOM_ENCRYPTION -> onRoomEncryptionEvent(roomId, event)
|
||||||
EventType.STATE_ROOM_MEMBER -> onRoomMembershipEvent(roomId, event)
|
EventType.STATE_ROOM_MEMBER -> onRoomMembershipEvent(roomId, event)
|
||||||
EventType.STATE_ROOM_HISTORY_VISIBILITY -> onRoomHistoryVisibilityEvent(roomId, event)
|
EventType.STATE_ROOM_HISTORY_VISIBILITY -> onRoomHistoryVisibilityEvent(roomId, event)
|
||||||
else -> cryptoCoroutineScope.launch {
|
|
||||||
this@DefaultCryptoService.verificationService.onEvent(event)
|
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
cryptoCoroutineScope.launch {
|
||||||
|
verificationService.onEvent(event)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue