mirror of
https://github.com/Mibew/mibew.git
synced 2024-11-15 08:34:11 +03:00
Save correct number of a visitor's messages for threads related to offline messages
This commit is contained in:
parent
d6d5477022
commit
1fc048fec9
@ -795,6 +795,7 @@ class ThreadProcessor extends ClientSideProcessor implements
|
||||
$thread->userId = $visitor['id'];
|
||||
$thread->userAgent = $user_browser;
|
||||
$thread->state = Thread::STATE_LEFT;
|
||||
$thread->messageCount = 1;
|
||||
$thread->closed = time();
|
||||
$thread->save();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user