mirror of
https://github.com/wbbaddons/Tims-Chat.git
synced 2024-10-31 14:10:08 +00:00
Return proper integer for roomID in RoomAction::getRoomList()
This commit is contained in:
parent
1a80743010
commit
c1906cdab7
@ -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())
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user