Commit 210dc4e0 authored by Ming Rui Zhang's avatar Ming Rui Zhang

webchathelper: add interaction duration into js argument

Change-Id: I28b8ac1f8d158db3a86bd21a0e325d1db893aa70
parent a7e6ba3b
......@@ -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)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment