Skip to content

Commit

Permalink
fix(CreateChatView): enable mentioning people selected in create chat
Browse files Browse the repository at this point in the history
Fixes #8749

I couldn't fully test it because it needs #8991 to be fixed to see if the message is sent correctly
  • Loading branch information
jrainville committed Jan 9, 2023
1 parent 40cd0d3 commit 27041ab
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
10 changes: 5 additions & 5 deletions ui/app/AppLayouts/Chat/views/ContactsColumnView.qml
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,10 @@ Item {
Layout.alignment: Qt.AlignVCenter
icon.name: "public-chat"
icon.color: Theme.palette.directColor1
icon.height: editBtn.icon.height
icon.width: editBtn.icon.width
implicitWidth: editBtn.implicitWidth
implicitHeight: editBtn.implicitHeight
icon.height: startChatButton.icon.height
icon.width: startChatButton.icon.width
implicitWidth: startChatButton.implicitWidth
implicitHeight: startChatButton.implicitHeight
type: StatusRoundButton.Type.Tertiary

onClicked: Global.openPopup(publicChatPopupComponent)
Expand All @@ -84,7 +84,7 @@ Item {
}

StatusIconTabButton {
id: editBtn
id: startChatButton
Layout.alignment: Qt.AlignVCenter
objectName: "startChatButton"
icon.name: "edit"
Expand Down
3 changes: 3 additions & 0 deletions ui/app/AppLayouts/Chat/views/CreateChatView.qml
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,9 @@ Page {
emojiPopup: root.emojiPopup
stickersPopup: root.stickersPopup
closeGifPopupAfterSelection: true
usersStore: ({
usersModel: membersSelector.model
})
onSendTransactionCommandButtonClicked: {
root.rootStore.createChatStartSendTransactionProcess = true;
membersSelector.createChat();
Expand Down

0 comments on commit 27041ab

Please sign in to comment.