summary refs log tree commit diff
path: root/webclient/components
diff options
context:
space:
mode:
authorEmmanuel ROHEE <erohee@amdocs.com>2014-09-19 09:25:51 +0200
committerEmmanuel ROHEE <erohee@amdocs.com>2014-09-19 09:25:51 +0200
commit008515c844d7f39c460b6ae742ac4121ccaac96b (patch)
tree0b52899a769d045fd91ad9d1dd4107304be88cc2 /webclient/components
parentRoom id leaks: log them when then happens. Plus log the conditions that made ... (diff)
downloadsynapse-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.js4
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);
                                     }
                                 }
                             }