From 79146887698f28436223e984fa501e9516c70756 Mon Sep 17 00:00:00 2001 From: Anastasiya Semenkevich Date: Mon, 16 Sep 2024 15:58:16 +0300 Subject: [PATCH] chore: add object names to actions --- ui/imports/shared/views/chat/ChatContextMenuView.qml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ui/imports/shared/views/chat/ChatContextMenuView.qml b/ui/imports/shared/views/chat/ChatContextMenuView.qml index bf8e6e7385..b16c955cdb 100644 --- a/ui/imports/shared/views/chat/ChatContextMenuView.qml +++ b/ui/imports/shared/views/chat/ChatContextMenuView.qml @@ -55,6 +55,7 @@ StatusMenu { } StatusAction { + objectName: "viewMembersStatusAction" text: qsTr("View Members") icon.name: "group-chat" enabled: root.chatType === Constants.chatType.privateGroupChat @@ -72,6 +73,7 @@ StatusMenu { } StatusAction { + objectName: "copyChannelLinkStatusAction" text: qsTr("Copy channel link") icon.name: "copy" enabled: root.isCommunityChat @@ -120,6 +122,7 @@ StatusMenu { } StatusAction { + objectName: "muteChatStatusAction" enabled: root.chatMuted text: root.isCommunityChat ? qsTr("Unmute Channel") : qsTr("Unmute Chat") icon.name: "notification"