From 0d0c3d55fe9a1e7c7dee7d4b319e1a2d4805c1b1 Mon Sep 17 00:00:00 2001 From: Adam Brown Date: Sat, 5 Nov 2022 10:11:09 +0000 Subject: [PATCH] ignore unsupported events --- .../app/dapk/st/matrix/sync/internal/room/SyncEventDecrypter.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/matrix/services/sync/src/main/kotlin/app/dapk/st/matrix/sync/internal/room/SyncEventDecrypter.kt b/matrix/services/sync/src/main/kotlin/app/dapk/st/matrix/sync/internal/room/SyncEventDecrypter.kt index 78f7c28..55d370d 100644 --- a/matrix/services/sync/src/main/kotlin/app/dapk/st/matrix/sync/internal/room/SyncEventDecrypter.kt +++ b/matrix/services/sync/src/main/kotlin/app/dapk/st/matrix/sync/internal/room/SyncEventDecrypter.kt @@ -46,7 +46,7 @@ internal class SyncEventDecrypter( }, event.utcTimestamp, ).also { logger.matrixLog("decrypted to timeline text: $it") } - DecryptedContent.Ignored -> event + DecryptedContent.Ignored -> ApiTimelineEvent.Ignored } } }