mirror of
https://github.com/oxen-io/session-android.git
synced 2025-10-20 15:48:39 +00:00
fix: fix the contact tests
This commit is contained in:
@@ -129,12 +129,12 @@ object ConfigurationMessageUtilities {
|
||||
}
|
||||
val contactInfo = Contact(
|
||||
id = contact.sessionID,
|
||||
name = contact.name,
|
||||
nickname = contact.nickname,
|
||||
name = contact.name.orEmpty(),
|
||||
nickname = contact.nickname.orEmpty(),
|
||||
blocked = settings.isBlocked,
|
||||
approved = settings.isApproved,
|
||||
approvedMe = settings.hasApprovedMe(),
|
||||
profilePicture = userPic
|
||||
profilePicture = userPic ?: UserPic.DEFAULT
|
||||
)
|
||||
contactConfig.set(contactInfo)
|
||||
}
|
||||
|
Reference in New Issue
Block a user