diff --git a/file/js/be.bastelstu.Chat.litcoffee b/file/js/be.bastelstu.Chat.litcoffee index 50c2978..871e5ac 100644 --- a/file/js/be.bastelstu.Chat.litcoffee +++ b/file/js/be.bastelstu.Chat.litcoffee @@ -885,7 +885,6 @@ Joins a room. loading = false roomList.active = data.returnValues - roomList.active.roomID = roomID $('#timsChatTopic').removeClass 'invisible' diff --git a/file/lib/data/room/RoomAction.class.php b/file/lib/data/room/RoomAction.class.php index 1552fba..74bb0c9 100644 --- a/file/lib/data/room/RoomAction.class.php +++ b/file/lib/data/room/RoomAction.class.php @@ -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(),