forked from MirrorHub/synapse
A kind of the typo in the fix of SYWEB-44
This commit is contained in:
parent
301ef1bdc6
commit
008515c844
1 changed files with 2 additions and 2 deletions
|
@ -81,8 +81,8 @@ angular.module('matrixFilter', [])
|
||||||
}
|
}
|
||||||
if (member_id !== user_id) {
|
if (member_id !== user_id) {
|
||||||
// Make sure there is no duplicate user
|
// Make sure there is no duplicate user
|
||||||
if (-1 === invitedUserIDs.indexOf(message.state_key)) {
|
if (-1 === invitedUserIDs.indexOf(member_id)) {
|
||||||
invitedUserIDs.push(message.state_key);
|
invitedUserIDs.push(member_id);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue