Fix missing negation

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
pull/21833/head
Michael Telatynski 2018-01-11 12:04:53 +00:00
parent b152bd4ab9
commit 8ad4da54cb
No known key found for this signature in database
GPG Key ID: 3F879DA5AD802A5E
1 changed files with 1 additions and 1 deletions

View File

@ -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() {