From aecb40cce9362f55402e91bbd692e8f52519f0ac Mon Sep 17 00:00:00 2001 From: Morgan Pretty Date: Tue, 18 Oct 2022 15:57:32 +1100 Subject: [PATCH] Fixed a bug where message requests could incorrectly appear in the thread list (#1009) --- app/src/main/java/org/thoughtcrime/securesms/database/Storage.kt | 1 - 1 file changed, 1 deletion(-) diff --git a/app/src/main/java/org/thoughtcrime/securesms/database/Storage.kt b/app/src/main/java/org/thoughtcrime/securesms/database/Storage.kt index 62c79674f6..76849b8af6 100644 --- a/app/src/main/java/org/thoughtcrime/securesms/database/Storage.kt +++ b/app/src/main/java/org/thoughtcrime/securesms/database/Storage.kt @@ -670,7 +670,6 @@ class Storage(context: Context, helper: SQLCipherOpenHelper) : Database(context, val threadId = threadDatabase.getOrCreateThreadIdFor(recipient) if (contact.didApproveMe == true) { recipientDatabase.setApprovedMe(recipient, true) - threadDatabase.setHasSent(threadId, true) } if (contact.isApproved == true) { recipientDatabase.setApproved(recipient, true)