Fix group disappearing messages not opening

This commit is contained in:
andrew 2023-10-19 13:21:06 +10:30
parent 2d0c4399c4
commit 864942026c

View File

@ -1172,7 +1172,7 @@ class ConversationActivityV2 : PassphraseRequiredActionBarActivity(), InputBarDe
override fun showDisappearingMessages(thread: Recipient) { override fun showDisappearingMessages(thread: Recipient) {
if (thread.isClosedGroupRecipient) { if (thread.isClosedGroupRecipient) {
groupDb.getGroup(thread.address.toGroupString()).orNull()?.run { if (isActive) return } groupDb.getGroup(thread.address.toGroupString()).orNull()?.run { if (!isActive) return }
} }
Intent(this, DisappearingMessagesActivity::class.java) Intent(this, DisappearingMessagesActivity::class.java)
.apply { putExtra(DisappearingMessagesActivity.THREAD_ID, viewModel.threadId) } .apply { putExtra(DisappearingMessagesActivity.THREAD_ID, viewModel.threadId) }