From a10fdb934a4a59b429b75e4431ce0df69a925f4e Mon Sep 17 00:00:00 2001 From: Claude Date: Wed, 22 Apr 2026 19:36:44 +0000 Subject: [PATCH] fix: route Leave Group back to the Messages screen After leaving a Marmot group the user was dropped on the group list; send them to the main Messages tab instead, which is the correct starting point for picking another conversation. https://claude.ai/code/session_01JaeqZwVNLKvUUvXWRzPmRP --- .../screen/loggedIn/chats/marmotGroup/MarmotGroupInfoScreen.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/screen/loggedIn/chats/marmotGroup/MarmotGroupInfoScreen.kt b/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/screen/loggedIn/chats/marmotGroup/MarmotGroupInfoScreen.kt index 914eabb66..3ef3f350f 100644 --- a/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/screen/loggedIn/chats/marmotGroup/MarmotGroupInfoScreen.kt +++ b/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/screen/loggedIn/chats/marmotGroup/MarmotGroupInfoScreen.kt @@ -301,7 +301,7 @@ fun MarmotGroupInfoScreen( try { accountViewModel.leaveMarmotGroup(nostrGroupId) accountViewModel.account.marmotGroupList.removeGroup(nostrGroupId) - nav.nav(Route.MarmotGroupList) + nav.nav(Route.Message) } catch (e: Exception) { isLeaving = false launch(Dispatchers.Main) {