fix: fix the contact tests

This commit is contained in:
0x330a
2023-02-21 17:07:55 +11:00
parent 39c532240c
commit e159e4ad52
7 changed files with 51 additions and 49 deletions

View File

@@ -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)
}