summary refs log tree commit diff
path: root/webclient/recents
diff options
context:
space:
mode:
authorEmmanuel ROHEE <erohee@amdocs.com>2014-09-18 17:34:13 +0200
committerEmmanuel ROHEE <erohee@amdocs.com>2014-09-18 17:34:26 +0200
commit26dda48e50d414b28f9a81fede63b1dbb953f256 (patch)
treea481c8a1b4a2dc17b92b0591e17fe31cc7ade09b /webclient/recents
parentMerge branch 'master' of github.com:matrix-org/synapse into develop (diff)
downloadsynapse-26dda48e50d414b28f9a81fede63b1dbb953f256.tar.xz
SYWEB-14: BF: rooms invitations were not visible in recents after launching/refreshing the web page
Diffstat (limited to 'webclient/recents')
-rw-r--r--webclient/recents/recents-filter.js4
1 files changed, 4 insertions, 0 deletions
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