Fixed showing wrong ensname on one2one chat profile modal. Fixes #1810

This commit is contained in:
ace-smart 2021-02-11 19:43:49 +04:00 committed by Iuri Matias
parent 58e9584984
commit aca6d4bd2e

View File

@ -42,7 +42,9 @@ Rectangle {
break;
case Constants.chatTypeOneToOne:
const profileImage = appMain.getProfileImage(chatsModel.activeChannel.id)
openProfilePopup(chatsModel.activeChannel.name, chatsModel.activeChannel.id, profileImage || chatsModel.activeChannel.identicon, "", chatsModel.activeChannel.nickname)
openProfilePopup(chatsModel.userNameOrAlias(chatsModel.activeChannel.id),
chatsModel.activeChannel.id, profileImage || chatsModel.activeChannel.identicon,
"", chatsModel.activeChannel.nickname)
break;
}
}