Commit f52f4c29 authored by Sébastien Blin's avatar Sébastien Blin

chatview: pass call duration

Change-Id: I651c27ae4f798c47fd694792e57239c5c0494ece
parent 42449b83
......@@ -186,6 +186,7 @@ build_interaction_json(lrc::api::ConversationModel& conversation_model,
interaction_object.insert("text", QJsonValue(interaction.body));
interaction_object.insert("id", QJsonValue(QString::number(msgId)));
interaction_object.insert("sender", QJsonValue(sender));
interaction_object.insert("duration", QJsonValue(static_cast<int>(interaction.duration)));
interaction_object.insert("sender_contact_method", QJsonValue(sender));
interaction_object.insert("timestamp", QJsonValue(timestamp));
interaction_object.insert("direction", QJsonValue(direction));
......
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