From 864942026cc5ccaaad99d799d675c71e9922a07f Mon Sep 17 00:00:00 2001 From: andrew Date: Thu, 19 Oct 2023 13:21:06 +1030 Subject: [PATCH] Fix group disappearing messages not opening --- .../securesms/conversation/v2/ConversationActivityV2.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/org/thoughtcrime/securesms/conversation/v2/ConversationActivityV2.kt b/app/src/main/java/org/thoughtcrime/securesms/conversation/v2/ConversationActivityV2.kt index 017e2db68a..7f8879116e 100644 --- a/app/src/main/java/org/thoughtcrime/securesms/conversation/v2/ConversationActivityV2.kt +++ b/app/src/main/java/org/thoughtcrime/securesms/conversation/v2/ConversationActivityV2.kt @@ -1172,7 +1172,7 @@ class ConversationActivityV2 : PassphraseRequiredActionBarActivity(), InputBarDe override fun showDisappearingMessages(thread: Recipient) { 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) .apply { putExtra(DisappearingMessagesActivity.THREAD_ID, viewModel.threadId) }