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

Return roomID on join

This commit is contained in:
Maximilian Mader 2014-03-02 18:11:54 +01:00
parent 16afdf6ce4
commit 7132a4692f
2 changed files with 1 additions and 1 deletions

View File

@ -885,7 +885,6 @@ Joins a room.
loading = false
roomList.active = data.returnValues
roomList.active.roomID = roomID
$('#timsChatTopic').removeClass 'invisible'

View File

@ -262,6 +262,7 @@ public function join() {
'application' => 'chat',
'object' => $room
)),
'roomID' => (int) $room->roomID,
'userCount' => count($room->getUsers()),
'permissions' => array(
'canBan' => (boolean) $room->canBan(),