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 "./samples/"
import "./MessageComponents" import "./MessageComponents"
import "../ContactsColumn" import "../ContactsColumn"
import "../data"
Item { Item {
id: root id: root
anchors.fill: parent anchors.fill: parent
property var userList property var userList
property var currentTime property var currentTime
property var messageContextMenu: MessageContextMenu { property var messageContextMenu
id: quickActionMessageOptionsMenu
reactionModel: EmojiReactions { }
}
StyledText { StyledText {
id: titleText id: titleText

View File

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

View File

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