mirror of
https://github.com/Mibew/i18n.git
synced 2025-01-22 13:30:29 +03:00
Update chat start time when user accept invitation
This commit is contained in:
parent
97a76cbd69
commit
18e6862949
@ -164,6 +164,7 @@ function invitation_accept($visitor_id) {
|
|||||||
// Update thread info
|
// Update thread info
|
||||||
$thread->state = Thread::STATE_LOADING;
|
$thread->state = Thread::STATE_LOADING;
|
||||||
$thread->invitationState = Thread::INVITATION_ACCEPTED;
|
$thread->invitationState = Thread::INVITATION_ACCEPTED;
|
||||||
|
$thread->chatStarted = time();
|
||||||
$thread->save();
|
$thread->save();
|
||||||
|
|
||||||
// Update visitor info
|
// Update visitor info
|
||||||
|
Loading…
Reference in New Issue
Block a user