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,7 +153,9 @@ internal class RustCryptoService @Inject constructor(
EventType.STATE_ROOM_HISTORY_VISIBILITY -> onRoomHistoryVisibilityEvent(roomId, event)
}
} else {
verificationService.onEvent(roomId, event)
if (!initialSync) {
verificationService.onEvent(roomId, event)
}
}
}