From ade3ed5690c5dd7cd82fbb6e3e130de5b69d3761 Mon Sep 17 00:00:00 2001 From: davotoula Date: Wed, 8 Apr 2026 11:12:02 +0200 Subject: [PATCH] =?UTF-8?q?Added=20missing=20is=20GroupEventResult.Duplica?= =?UTF-8?q?te=20branch=20at=20DecryptAndIndexProcessor.kt:499=20=E2=80=94?= =?UTF-8?q?=20it=20logs=20and=20ignores=20duplicate=20events?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../amethyst/ui/screen/loggedIn/DecryptAndIndexProcessor.kt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/screen/loggedIn/DecryptAndIndexProcessor.kt b/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/screen/loggedIn/DecryptAndIndexProcessor.kt index 8791601c1..017dd05f7 100644 --- a/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/screen/loggedIn/DecryptAndIndexProcessor.kt +++ b/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/screen/loggedIn/DecryptAndIndexProcessor.kt @@ -496,6 +496,10 @@ class GroupEventHandler( Log.d("GroupEventHandler", "Commit pending for group ${result.groupId}, epoch=${result.epoch}") } + is GroupEventResult.Duplicate -> { + Log.d("GroupEventHandler", "Duplicate event for group ${result.groupId}") + } + is GroupEventResult.Error -> { Log.w("GroupEventHandler") { "Error processing GroupEvent: ${result.message}" } }