From a6fafb07da037873f8f47d7e03b5dc7030191ef2 Mon Sep 17 00:00:00 2001 From: jonnyandrew Date: Mon, 27 Nov 2023 16:30:44 +0000 Subject: [PATCH] Remove quote from message actions menu (#8689) --- .../room/detail/timeline/action/MessageActionsViewModel.kt | 4 ---- 1 file changed, 4 deletions(-) diff --git a/vector/src/main/java/im/vector/app/features/home/room/detail/timeline/action/MessageActionsViewModel.kt b/vector/src/main/java/im/vector/app/features/home/room/detail/timeline/action/MessageActionsViewModel.kt index d56bf18fa8..62aed5c3c6 100644 --- a/vector/src/main/java/im/vector/app/features/home/room/detail/timeline/action/MessageActionsViewModel.kt +++ b/vector/src/main/java/im/vector/app/features/home/room/detail/timeline/action/MessageActionsViewModel.kt @@ -370,10 +370,6 @@ class MessageActionsViewModel @AssistedInject constructor( add(EventSharedAction.ViewReactions(informationData)) } - if (canQuote(timelineEvent, messageContent, actionPermissions)) { - add(EventSharedAction.Quote(eventId)) - } - if (timelineEvent.hasBeenEdited()) { add(EventSharedAction.ViewEditHistory(informationData)) }