fix(@desktop/chat)
Fixed #2430: Add members window shown when accessing 1x1 chat within group chat
This commit is contained in:
parent
35198cb448
commit
a5806aaf5a
|
@ -303,7 +303,7 @@ ModalPopup {
|
|||
cursorShape: Qt.PointingHandCursor
|
||||
onClicked: {
|
||||
const userProfileImage = appMain.getProfileImage(model.pubKey)
|
||||
openProfilePopup(model.userName, model.pubKey, userProfileImage || model.identicon, '', contactRow.nickname)
|
||||
openProfilePopup(model.userName, model.pubKey, userProfileImage || model.identicon, '', contactRow.nickname, popup)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -341,8 +341,13 @@ ModalPopup {
|
|||
width: visible ? implicitWidth : 0
|
||||
onClicked: {
|
||||
appMain.changeAppSection(Constants.chat)
|
||||
chatsModel.channelView.joinPrivateChat(fromAuthor, "");
|
||||
chatsModel.channelView.joinPrivateChat(fromAuthor, "")
|
||||
popup.close()
|
||||
let pp = parentPopup
|
||||
while (pp) {
|
||||
pp.close()
|
||||
pp = pp.parentPopup
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue