mirror of
https://github.com/element-hq/synapse.git
synced 2024-11-25 19:15:51 +03:00
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) {
|
||||
// Make sure there is no duplicate user
|
||||
if (-1 === invitedUserIDs.indexOf(message.state_key)) {
|
||||
invitedUserIDs.push(message.state_key);
|
||||
if (-1 === invitedUserIDs.indexOf(member_id)) {
|
||||
invitedUserIDs.push(member_id);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue