1
0
mirror of https://github.com/wbbaddons/Tims-Chat.git synced 2024-12-22 21:40:08 +00:00

Return proper integer for roomID in RoomAction::getRoomList()

This commit is contained in:
Tim Düsterhus 2014-01-08 16:02:13 +01:00
parent 1a80743010
commit c1906cdab7

View File

@ -147,7 +147,7 @@ public function getRoomList() {
'application' => 'chat',
'object' => $room
)),
'roomID' => $room->roomID,
'roomID' => (int) $room->roomID,
'active' => $this->parameters['room'] && $room->roomID == $this->parameters['room']->roomID,
'userCount' => count($room->getUsers())
);