fix: initial convo generation fix for existing blinded convos (?)

This commit is contained in:
0x330a 2023-06-15 15:19:34 +10:00
parent bd05985cd6
commit b495e59abb
No known key found for this signature in database
GPG Key ID: 267811D6E6A2698C

View File

@ -166,6 +166,7 @@ object ConfigurationMessageUtilities {
} else {
UserPic(url, key)
}
val contactInfo = Contact(
id = contact.sessionID,
name = contact.name.orEmpty(),
@ -208,6 +209,7 @@ object ConfigurationMessageUtilities {
recipient.isContactRecipient -> {
if (recipient.isLocalNumber) null // this is handled by the user profile NTS data
else if (recipient.isOpenGroupInboxRecipient) null // specifically exclude
else if (!recipient.address.serialize().startsWith(IdPrefix.STANDARD.value)) null
else convoConfig.getOrConstructOneToOne(recipient.address.serialize())
}
else -> null