Merge pull request #1696 from matrix-org/t3chguy/fix_missing_negation
Fix missing negationpull/21833/head
commit
e187ec6a2f
|
@ -58,7 +58,7 @@ module.exports = React.createClass({
|
|||
const cli = this.context.matrixClient;
|
||||
const room = cli.getRoom(this.props.roomId);
|
||||
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() {
|
||||
|
|
Loading…
Reference in New Issue