diff options
author | Kegan Dougal <kegan@matrix.org> | 2014-09-18 10:05:34 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2014-09-18 12:02:51 +0100 |
commit | a6f5c88b47d36d811628449afad5355489386e92 (patch) | |
tree | 9d16cedda407f7ab3fe68519cf2a6bafecd1cc03 /webclient | |
parent | unbreak calls in firefox (diff) | |
download | synapse-a6f5c88b47d36d811628449afad5355489386e92.tar.xz |
Still add the room to the filtered list even if you can't work out the number of users in the room.
Diffstat (limited to 'webclient')
-rw-r--r-- | webclient/recents/recents-filter.js | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/webclient/recents/recents-filter.js b/webclient/recents/recents-filter.js index 2fd4dbe98b..d948205e19 100644 --- a/webclient/recents/recents-filter.js +++ b/webclient/recents/recents-filter.js @@ -35,9 +35,8 @@ angular.module('RecentsController') // Count users here // TODO: Compute it directly in eventHandlerService room.numUsersInRoom = eventHandlerService.getUsersCountInRoom(room_id); - - filtered.push(room); } + filtered.push(room); }); // And time sort them @@ -61,4 +60,4 @@ angular.module('RecentsController') }); return filtered; }; -}]); \ No newline at end of file +}]); |