From 85721b5b4fd9783f516809b4a8b838ad0d104166 Mon Sep 17 00:00:00 2001 From: Marcel Hibbe Date: Thu, 8 Dec 2022 17:57:53 +0100 Subject: [PATCH] fix conductor backstack when chat notification is opened when opening a chat notification, the old chat should not be kept in the backstack. so when clicking the back button when coming from a chat that was opened by a notification, now the ConversationList opens. by the way, this also avoids to run into bug #2181 (but it's root cause is not solved yet) Signed-off-by: Marcel Hibbe --- app/src/main/java/com/nextcloud/talk/activities/MainActivity.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/com/nextcloud/talk/activities/MainActivity.kt b/app/src/main/java/com/nextcloud/talk/activities/MainActivity.kt index 3e534beb3..2f61f700b 100644 --- a/app/src/main/java/com/nextcloud/talk/activities/MainActivity.kt +++ b/app/src/main/java/com/nextcloud/talk/activities/MainActivity.kt @@ -354,7 +354,7 @@ class MainActivity : BaseActivity(), ActionBarProvider { intent.getParcelableExtra(KEY_USER_ENTITY)!!.id!!, intent.getStringExtra(KEY_ROOM_TOKEN)!!, intent.extras!!, - false, + true, true ) logRouterBackStack(router!!)