mirror of
https://github.com/wbbaddons/Tims-Chat.git
synced 2025-01-24 02:20:39 +00:00
Fix user online for guests
This commit is contained in:
parent
3fb212693d
commit
a421cc92c5
@ -238,6 +238,8 @@ class ChatPage extends \wcf\page\AbstractPage {
|
||||
* @see wcf\page\ITrackablePage::getObjectID()
|
||||
*/
|
||||
public function getObjectID() {
|
||||
if ($this->room === null) return 0;
|
||||
|
||||
return $this->room->roomID;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user