Skip to content
Snippets Groups Projects
Commit 210dc4e0 authored by Ming Rui Zhang's avatar Ming Rui Zhang
Browse files

webchathelper: add interaction duration into js argument

Change-Id: I28b8ac1f8d158db3a86bd21a0e325d1db893aa70
parent a7e6ba3b
No related branches found
No related tags found
No related merge requests found
......@@ -38,6 +38,7 @@ buildInteractionJson(lrc::api::ConversationModel& conversationModel,
interactionObject.insert("sender_contact_method", QJsonValue(sender));
interactionObject.insert("timestamp", QJsonValue(timestamp));
interactionObject.insert("direction", QJsonValue(direction));
interactionObject.insert("duration", QJsonValue(interaction.duration));
switch (interaction.type)
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment