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