ignore verification events from initial sync

This commit is contained in:
valere 2022-12-16 14:03:11 +01:00
parent ca2d36303c
commit 2d388f392f

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)
}
}
}