diff --git a/src/components/views/rooms/MessageComposer.js b/src/components/views/rooms/MessageComposer.js index dacd433e3e..ad4a1dfafe 100644 --- a/src/components/views/rooms/MessageComposer.js +++ b/src/components/views/rooms/MessageComposer.js @@ -309,8 +309,8 @@ export default class MessageComposer extends React.Component { ; } - const canSendMessages = !this.state.tombstone && this.props.room.currentState.maySendMessage( - MatrixClientPeg.get().credentials.userId); + const canSendMessages = !this.state.tombstone && + this.props.room.maySendMessage(); if (canSendMessages) { // This also currently includes the call buttons. Really we should