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.
This commit is contained in:
ThomasSession 2024-09-20 09:54:08 +10:00
parent 89a854e8d7
commit 1ff8ea0fc8

View File

@ -1583,6 +1583,7 @@ open class Storage(
if (recipient.isLocalNumber || !recipient.isContactRecipient) return if (recipient.isLocalNumber || !recipient.isContactRecipient) return
configFactory.contacts?.upsertContact(recipient.address.serialize()) { configFactory.contacts?.upsertContact(recipient.address.serialize()) {
this.approved = approved this.approved = approved
this.priority = PRIORITY_VISIBLE
} }
} }