From 2562abdf4b3598f8b07c74ef0abd74a18ca8b405 Mon Sep 17 00:00:00 2001 From: Dmitriy Simushev Date: Tue, 6 Aug 2013 13:45:20 +0000 Subject: [PATCH] Pass user_id field of the visitor to the client side --- src/messenger/webim/libs/classes/users_processor.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/messenger/webim/libs/classes/users_processor.php b/src/messenger/webim/libs/classes/users_processor.php index 2a26e7b9..e4b67a3f 100644 --- a/src/messenger/webim/libs/classes/users_processor.php +++ b/src/messenger/webim/libs/classes/users_processor.php @@ -443,6 +443,7 @@ class UsersProcessor extends ClientSideProcessor { // Create resulting visitor structure $visitors[] = array( 'id' => (int)$row['visitorid'], + 'userId' => $row['userid'], 'userName' => $row['username'], 'userAgent' => $user_agent, 'userIp' => $user_ip,