diff --git a/src/webchathelpers.cpp b/src/webchathelpers.cpp index 214dc3555517ea834afbb978088451e3e745c112..083b3b5cac0f9b63a9c42ff7e9ad53ba6165a7f4 100644 --- a/src/webchathelpers.cpp +++ b/src/webchathelpers.cpp @@ -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) {