mirror of
https://github.com/wbbaddons/Tims-Chat.git
synced 2024-12-22 21:40:08 +00:00
Fix joining when no message exists
This commit is contained in:
parent
61c835cd38
commit
161d0504f0
@ -236,7 +236,7 @@ public function join() {
|
||||
'chatRoomID' => $room->roomID,
|
||||
'chatAway' => null,
|
||||
'chatLastActivity' => TIME_NOW,
|
||||
'chatLastSeen' => $stmt->fetchColumn()
|
||||
'chatLastSeen' => $stmt->fetchColumn() ?: 0
|
||||
));
|
||||
|
||||
// add activity points
|
||||
|
Loading…
Reference in New Issue
Block a user