A kind of the typo in the fix of SYWEB-44

This commit is contained in:
Emmanuel ROHEE 2014-09-19 09:25:51 +02:00
parent 301ef1bdc6
commit 008515c844
1 changed files with 2 additions and 2 deletions

View File

@ -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);
}
}
}