mirror of
https://github.com/wbbaddons/Tims-Chat.git
synced 2024-10-31 14:10: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
|
loading = false
|
||||||
|
|
||||||
roomList.active = data.returnValues
|
roomList.active = data.returnValues
|
||||||
roomList.active.roomID = roomID
|
|
||||||
|
|
||||||
$('#timsChatTopic').removeClass 'invisible'
|
$('#timsChatTopic').removeClass 'invisible'
|
||||||
|
|
||||||
|
@ -262,6 +262,7 @@ public function join() {
|
|||||||
'application' => 'chat',
|
'application' => 'chat',
|
||||||
'object' => $room
|
'object' => $room
|
||||||
)),
|
)),
|
||||||
|
'roomID' => (int) $room->roomID,
|
||||||
'userCount' => count($room->getUsers()),
|
'userCount' => count($room->getUsers()),
|
||||||
'permissions' => array(
|
'permissions' => array(
|
||||||
'canBan' => (boolean) $room->canBan(),
|
'canBan' => (boolean) $room->canBan(),
|
||||||
|
Loading…
Reference in New Issue
Block a user