mirror of
https://github.com/wbbaddons/Tims-Chat.git
synced 2024-10-31 14:10: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,
|
'chatRoomID' => $room->roomID,
|
||||||
'chatAway' => null,
|
'chatAway' => null,
|
||||||
'chatLastActivity' => TIME_NOW,
|
'chatLastActivity' => TIME_NOW,
|
||||||
'chatLastSeen' => $stmt->fetchColumn()
|
'chatLastSeen' => $stmt->fetchColumn() ?: 0
|
||||||
));
|
));
|
||||||
|
|
||||||
// add activity points
|
// add activity points
|
||||||
|
Loading…
Reference in New Issue
Block a user