From 1ff8ea0fc8f23e03c54c3d8df4f2ac661b750062 Mon Sep 17 00:00:00 2001 From: ThomasSession Date: Fri, 20 Sep 2024 09:54:08 +1000 Subject: [PATCH] SES-1714 - SES-1715 Making sure an approved message request sets the contact as visible. They could have been set to hidden if the contact had previously sent another message request which was then declined. Upon sending another one we need to make sure the contact is set to visible once that request is approved. --- app/src/main/java/org/thoughtcrime/securesms/database/Storage.kt | 1 + 1 file changed, 1 insertion(+) 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 8fdbe2accc..d7ad48b497 100644 --- a/app/src/main/java/org/thoughtcrime/securesms/database/Storage.kt +++ b/app/src/main/java/org/thoughtcrime/securesms/database/Storage.kt @@ -1583,6 +1583,7 @@ open class Storage( if (recipient.isLocalNumber || !recipient.isContactRecipient) return configFactory.contacts?.upsertContact(recipient.address.serialize()) { this.approved = approved + this.priority = PRIORITY_VISIBLE } }