Fixed own display name issue in group chat room last message display
This commit is contained in:
parent
ce63d48ccf
commit
920c33b619
1 changed files with 1 additions and 1 deletions
|
@ -229,7 +229,7 @@ class ChatRoomViewModel(val chatRoom: ChatRoom) : ViewModel(), ContactDataInterf
|
|||
if (msg == null) return ""
|
||||
|
||||
val account = coreContext.core.accountList.find { account ->
|
||||
account.params.identityAddress?.asStringUriOnly() == msg.fromAddress.asStringUriOnly()
|
||||
account.params.identityAddress?.weakEqual(msg.fromAddress) ?: false
|
||||
}
|
||||
val localDisplayName = account?.params?.identityAddress?.displayName
|
||||
|
||||
|
|
Loading…
Reference in a new issue