Skip to content
Snippets Groups Projects
Unverified Commit c2ef6bd9 authored by Sébastien Blin's avatar Sébastien Blin
Browse files

chatview: use clearReadInteractions

Change-Id: Idd93e75369fdb6de99e3d05adbb338ec40886be9
parent a81119b0
No related branches found
No related tags found
No related merge requests found
......@@ -827,10 +827,7 @@ print_text_recording(ChatView *self)
// Read interactions
if (!priv->conversation_) return;
for (const auto& it: priv->conversation_->interactions) {
if (!it.second.isRead)
(*priv->accountInfo_)->conversationModel->setInteractionRead(priv->conversation_->uid, it.first);
}
(*priv->accountInfo_)->conversationModel->clearUnreadInteractions(priv->conversation_->uid);
webkit_chat_container_print_history(
WEBKIT_CHAT_CONTAINER(priv->webkit_chat_container),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment