fix(chat): fix nickname not populated when clicking profile head in menu
This commit is contained in:
parent
cbd9ee5d67
commit
4cfc1de6a8
|
@ -80,6 +80,10 @@ StatusPopupMenu {
|
|||
popup()
|
||||
}
|
||||
|
||||
function openProfileClicked() {
|
||||
openProfilePopup(userName, fromAuthor, identicon, "", nickname);
|
||||
}
|
||||
|
||||
Item {
|
||||
id: emojiContainer
|
||||
width: emojiRow.width
|
||||
|
@ -150,7 +154,7 @@ StatusPopupMenu {
|
|||
hoverEnabled: true
|
||||
cursorShape: Qt.PointingHandCursor
|
||||
onClicked: {
|
||||
openProfilePopup(userName, fromAuthor, identicon);
|
||||
root.openProfileClicked()
|
||||
root.close()
|
||||
}
|
||||
}
|
||||
|
@ -235,7 +239,7 @@ StatusPopupMenu {
|
|||
//% "View Profile"
|
||||
text: qsTrId("view-profile")
|
||||
onTriggered: {
|
||||
openProfilePopup(userName, fromAuthor, identicon, "", nickname);
|
||||
root.openProfileClicked()
|
||||
root.close()
|
||||
}
|
||||
icon.name: "profile"
|
||||
|
|
Loading…
Reference in New Issue