Skip to content
Snippets Groups Projects
Commit 32808e41 authored by Kegan Dougal's avatar Kegan Dougal
Browse files

Still add the room to the filtered list even if you can't work out the number of users in the room.

parent aeaeceb9
No related branches found
No related tags found
No related merge requests found
......@@ -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
}]);
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment