mirror of
https://github.com/wbbaddons/Tims-Chat.git
synced 2024-10-31 14:10:08 +00:00
Provide roomID for users in NewMessagesPage
This commit is contained in:
parent
fe2f675e4d
commit
1d92b0f26b
@ -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()),
|
||||
|
Loading…
Reference in New Issue
Block a user