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:
parent
16afdf6ce4
commit
7132a4692f
@ -885,7 +885,6 @@ Joins a room.
|
||||
loading = false
|
||||
|
||||
roomList.active = data.returnValues
|
||||
roomList.active.roomID = roomID
|
||||
|
||||
$('#timsChatTopic').removeClass 'invisible'
|
||||
|
||||
|
@ -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(),
|
||||
|
Loading…
Reference in New Issue
Block a user