mirror of
https://github.com/element-hq/element-web
synced 2024-11-23 17:56:01 +03:00
Disable option to Quote
when we don't have sufficient permissions (#8893)
This commit is contained in:
parent
9933c31c61
commit
eca14dea57
1 changed files with 1 additions and 1 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue