fix(@desktop/chat) Right click on community member list should show member information

fixes #3162
This commit is contained in:
Khushboo Mehta 2021-09-01 19:38:39 +02:00 committed by Iuri Matias
parent 5b674cee5a
commit 9dd35904ea
3 changed files with 9 additions and 7 deletions

View File

@ -13,17 +13,13 @@ import "../components"
import "./samples/"
import "./MessageComponents"
import "../ContactsColumn"
import "../data"
Item {
id: root
anchors.fill: parent
property var userList
property var currentTime
property var messageContextMenu: MessageContextMenu {
id: quickActionMessageOptionsMenu
reactionModel: EmojiReactions { }
}
property var messageContextMenu
StyledText {
id: titleText

View File

@ -163,12 +163,12 @@ StatusAppThreePanelLayout {
Component {
id: communityUserListComponent
CommunityUserList { currentTime: chatColumn.currentTime }
CommunityUserList { currentTime: chatColumn.currentTime; messageContextMenu: quickActionMessageOptionsMenu }
}
Component {
id: userListComponent
UserList { currentTime: chatColumn.currentTime; userList: chatColumn.userList;}
UserList { currentTime: chatColumn.currentTime; userList: chatColumn.userList; messageContextMenu: quickActionMessageOptionsMenu}
}
Component {
@ -217,6 +217,11 @@ StatusAppThreePanelLayout {
removeContactConfirmationDialog.close();
}
}
MessageContextMenu {
id: quickActionMessageOptionsMenu
reactionModel: EmojiReactions { }
}
}
/*##^##

View File

@ -19,6 +19,7 @@ Item {
anchors.fill: parent
property var userList
property var currentTime
property var messageContextMenu
property QtObject community: chatsModel.communities.activeCommunity
StyledText {