From 26dda48e50d414b28f9a81fede63b1dbb953f256 Mon Sep 17 00:00:00 2001 From: Emmanuel ROHEE Date: Thu, 18 Sep 2014 17:34:13 +0200 Subject: SYWEB-14: BF: rooms invitations were not visible in recents after launching/refreshing the web page --- webclient/recents/recents-filter.js | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'webclient/recents') diff --git a/webclient/recents/recents-filter.js b/webclient/recents/recents-filter.js index e8323f4a31..468a746b18 100644 --- a/webclient/recents/recents-filter.js +++ b/webclient/recents/recents-filter.js @@ -37,6 +37,10 @@ angular.module('RecentsController') filtered.push(room); } + else if ("invite" === room.membership) { + // The only information we have about the room is that the user has been invited + filtered.push(room); + } }); // And time sort them -- cgit 1.4.1