0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-12-20 10:14:01 +01:00

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

This commit is contained in:
Kegan Dougal 2014-09-18 10:05:34 +01:00 committed by Erik Johnston
parent 1c0408de08
commit a6f5c88b47

View file

@ -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