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 <dev@mhibbe.de>
This commit is contained in:
Marcel Hibbe 2022-12-08 17:57:53 +01:00
parent 943dfa2a83
commit 85721b5b4f
No known key found for this signature in database
GPG Key ID: C793F8B59F43CE7B

View File

@ -354,7 +354,7 @@ class MainActivity : BaseActivity(), ActionBarProvider {
intent.getParcelableExtra<User>(KEY_USER_ENTITY)!!.id!!,
intent.getStringExtra(KEY_ROOM_TOKEN)!!,
intent.extras!!,
false,
true,
true
)
logRouterBackStack(router!!)