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

This commit is contained in:
Weblate 2018-01-11 12:06:52 +00:00
commit 3b4e233535

View file

@ -58,7 +58,7 @@ module.exports = React.createClass({
const cli = this.context.matrixClient; const cli = this.context.matrixClient;
const room = cli.getRoom(this.props.roomId); const room = cli.getRoom(this.props.roomId);
if (!room.currentState.maySendStateEvent('m.room.related_groups', cli.getUserId())) return false; if (!room.currentState.maySendStateEvent('m.room.related_groups', cli.getUserId())) return false;
return isEqual(this.getInitialGroupList(), this.state.newGroupsList); return !isEqual(this.getInitialGroupList(), this.state.newGroupsList);
}, },
saveSettings: function() { saveSettings: function() {