fix(@desktop/chat) Right click on community member list should show member information
fixes #3162
This commit is contained in:
parent
5b674cee5a
commit
9dd35904ea
|
@ -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
|
||||||
|
|
|
@ -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 { }
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/*##^##
|
/*##^##
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue