Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
Disable option to Quote when we don't have sufficient permissions (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonBrandner authored Jun 25, 2022
1 parent 9933c31 commit eca14de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/views/context_menus/MessageContextMenu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -454,7 +454,7 @@ export default class MessageContextMenu extends React.Component<IProps, IState>
}

let quoteButton: JSX.Element;
if (eventTileOps) { // this event is rendered using TextualBody
if (eventTileOps && canSendMessages) { // this event is rendered using TextualBody
quoteButton = (
<IconizedContextMenuOption
iconClassName="mx_MessageContextMenu_iconQuote"
Expand Down

0 comments on commit eca14de

Please sign in to comment.