diff --git a/file/lib/page/NewMessagesPage.class.php b/file/lib/page/NewMessagesPage.class.php index 0a2925f..02f0671 100644 --- a/file/lib/page/NewMessagesPage.class.php +++ b/file/lib/page/NewMessagesPage.class.php @@ -120,6 +120,7 @@ public function show() { $json['users'][] = array( 'userID' => (int) $user->userID, 'username' => $user->username, + 'roomID' => (int) $user->chatRoomID, 'awayStatus' => $user->chatAway, 'suspended' => (boolean) !$this->room->canWrite($user->getDecoratedObject()), 'mod' => $this->room->canBan($user->getDecoratedObject()) || $this->room->canMute($user->getDecoratedObject()),