mirror of
https://github.com/oxen-io/session-android.git
synced 2024-12-28 10:47:46 +00:00
Fix display name bug
This commit is contained in:
parent
4075603714
commit
86ea104e01
@ -65,7 +65,7 @@ class ProfilePictureView : RelativeLayout {
|
||||
if (result == null && publicChat != null) {
|
||||
result = DatabaseFactory.getLokiUserDatabase(context).getServerDisplayName(publicChat.id, publicKey)
|
||||
}
|
||||
return result
|
||||
return result ?: publicKey
|
||||
}
|
||||
}
|
||||
if (recipient.isGroupRecipient) {
|
||||
|
@ -59,7 +59,7 @@ class UserView : LinearLayout {
|
||||
if (result == null && publicChat != null) {
|
||||
result = DatabaseFactory.getLokiUserDatabase(context).getServerDisplayName(publicChat.id, publicKey)
|
||||
}
|
||||
return result
|
||||
return result ?: publicKey
|
||||
}
|
||||
}
|
||||
val address = user.address.serialize()
|
||||
|
Loading…
x
Reference in New Issue
Block a user