ignore verification events from initial sync

This commit is contained in:
valere 2022-12-16 14:03:11 +01:00
parent ca2d36303c
commit 2d388f392f
1 changed files with 3 additions and 1 deletions

View File

@ -153,9 +153,11 @@ internal class RustCryptoService @Inject constructor(
EventType.STATE_ROOM_HISTORY_VISIBILITY -> onRoomHistoryVisibilityEvent(roomId, event)
}
} else {
if (!initialSync) {
verificationService.onEvent(roomId, event)
}
}
}
override suspend fun setDeviceName(deviceId: String, deviceName: String) {
val params = SetDeviceNameTask.Params(deviceId, deviceName)