0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-06-13 08:08:57 +02:00

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

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