You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-12-07 03:42:20 +03:00
Hide composer and call buttons when the room is tombstoned (#7975)
This commit is contained in:
committed by
GitHub
parent
675b4271e9
commit
0e60ad98c1
@@ -334,7 +334,7 @@ export default class MessageActionBar extends React.PureComponent<IMessageAction
|
||||
// Like the resend button, the react and reply buttons need to appear before the edit.
|
||||
// The only catch is we do the reply button first so that we can make sure the react
|
||||
// button is the very first button without having to do length checks for `splice()`.
|
||||
if (this.context.canReply) {
|
||||
if (this.context.canSendMessages) {
|
||||
if (this.showReplyInThreadAction) {
|
||||
toolbarOpts.splice(0, 0, threadTooltipButton);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user