mirror of
https://github.com/vector-im/element-web.git
synced 2025-08-30 19:01:17 +02:00
Merge remote-tracking branch 'origin/develop' into develop
This commit is contained in:
commit
924d98b5f5
@ -309,8 +309,8 @@ export default class MessageComposer extends React.Component {
|
|||||||
</div>;
|
</div>;
|
||||||
}
|
}
|
||||||
|
|
||||||
const canSendMessages = !this.state.tombstone && this.props.room.currentState.maySendMessage(
|
const canSendMessages = !this.state.tombstone &&
|
||||||
MatrixClientPeg.get().credentials.userId);
|
this.props.room.maySendMessage();
|
||||||
|
|
||||||
if (canSendMessages) {
|
if (canSendMessages) {
|
||||||
// This also currently includes the call buttons. Really we should
|
// This also currently includes the call buttons. Really we should
|
||||||
|
Loading…
x
Reference in New Issue
Block a user