diff options
author | Emmanuel ROHEE <erohee@amdocs.com> | 2014-09-19 09:25:51 +0200 |
---|---|---|
committer | Emmanuel ROHEE <erohee@amdocs.com> | 2014-09-19 09:25:51 +0200 |
commit | 008515c844d7f39c460b6ae742ac4121ccaac96b (patch) | |
tree | 0b52899a769d045fd91ad9d1dd4107304be88cc2 /webclient/components | |
parent | Room id leaks: log them when then happens. Plus log the conditions that made ... (diff) | |
download | synapse-008515c844d7f39c460b6ae742ac4121ccaac96b.tar.xz |
A kind of the typo in the fix of SYWEB-44
Diffstat (limited to 'webclient/components')
-rw-r--r-- | webclient/components/matrix/matrix-filter.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/webclient/components/matrix/matrix-filter.js b/webclient/components/matrix/matrix-filter.js index dba511db6e..c99c435b92 100644 --- a/webclient/components/matrix/matrix-filter.js +++ b/webclient/components/matrix/matrix-filter.js @@ -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); } } } |