mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-10-01 08:25:44 -04: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:
parent
aeaeceb92c
commit
32808e4111
@ -35,9 +35,8 @@ angular.module('RecentsController')
|
|||||||
// Count users here
|
// Count users here
|
||||||
// TODO: Compute it directly in eventHandlerService
|
// TODO: Compute it directly in eventHandlerService
|
||||||
room.numUsersInRoom = eventHandlerService.getUsersCountInRoom(room_id);
|
room.numUsersInRoom = eventHandlerService.getUsersCountInRoom(room_id);
|
||||||
|
|
||||||
filtered.push(room);
|
|
||||||
}
|
}
|
||||||
|
filtered.push(room);
|
||||||
});
|
});
|
||||||
|
|
||||||
// And time sort them
|
// And time sort them
|
||||||
@ -61,4 +60,4 @@ angular.module('RecentsController')
|
|||||||
});
|
});
|
||||||
return filtered;
|
return filtered;
|
||||||
};
|
};
|
||||||
}]);
|
}]);
|
||||||
|
Loading…
Reference in New Issue
Block a user