Merge remote-tracking branch 'origin/develop' into develop

This commit is contained in:
Weblate 2018-09-06 15:23:11 +00:00
commit 924d98b5f5

View file

@ -309,8 +309,8 @@ export default class MessageComposer extends React.Component {
</div>;
}
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