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;
|
let quoteButton: JSX.Element;
|
||||||
if (eventTileOps) { // this event is rendered using TextualBody
|
if (eventTileOps && canSendMessages) { // this event is rendered using TextualBody
|
||||||
quoteButton = (
|
quoteButton = (
|
||||||
<IconizedContextMenuOption
|
<IconizedContextMenuOption
|
||||||
iconClassName="mx_MessageContextMenu_iconQuote"
|
iconClassName="mx_MessageContextMenu_iconQuote"
|
||||||
|
|
Loading…
Reference in a new issue