mirror of
https://github.com/oxen-io/session-android.git
synced 2024-11-21 15:05:19 +00:00
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:
parent
89a854e8d7
commit
1ff8ea0fc8
@ -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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user