From 008515c844d7f39c460b6ae742ac4121ccaac96b Mon Sep 17 00:00:00 2001 From: Emmanuel ROHEE Date: Fri, 19 Sep 2014 09:25:51 +0200 Subject: A kind of the typo in the fix of SYWEB-44 --- webclient/components/matrix/matrix-filter.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'webclient') 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); } } } -- cgit 1.4.1