From 18e68629495354d4f1685860804a92651f453e24 Mon Sep 17 00:00:00 2001 From: Dmitriy Simushev Date: Mon, 27 May 2013 09:31:36 +0000 Subject: [PATCH] Update chat start time when user accept invitation --- src/messenger/webim/libs/invitation.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/messenger/webim/libs/invitation.php b/src/messenger/webim/libs/invitation.php index 447e7270..01d1c535 100644 --- a/src/messenger/webim/libs/invitation.php +++ b/src/messenger/webim/libs/invitation.php @@ -164,6 +164,7 @@ function invitation_accept($visitor_id) { // Update thread info $thread->state = Thread::STATE_LOADING; $thread->invitationState = Thread::INVITATION_ACCEPTED; + $thread->chatStarted = time(); $thread->save(); // Update visitor info