From eca14dea57e50769a640a613410e73e6947351aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=A0imon=20Brandner?= Date: Sat, 25 Jun 2022 12:43:18 +0200 Subject: [PATCH] Disable option to `Quote` when we don't have sufficient permissions (#8893) --- src/components/views/context_menus/MessageContextMenu.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/views/context_menus/MessageContextMenu.tsx b/src/components/views/context_menus/MessageContextMenu.tsx index 836df2d4de..6d7eebdc0a 100644 --- a/src/components/views/context_menus/MessageContextMenu.tsx +++ b/src/components/views/context_menus/MessageContextMenu.tsx @@ -454,7 +454,7 @@ export default class MessageContextMenu extends React.Component } let quoteButton: JSX.Element; - if (eventTileOps) { // this event is rendered using TextualBody + if (eventTileOps && canSendMessages) { // this event is rendered using TextualBody quoteButton = (