From 1ec2d5f27b0d0003fccbc51bbff5daec359ea4a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Blin?= <sebastien.blin@savoirfairelinux.com> Date: Tue, 20 Feb 2024 11:20:27 -0500 Subject: [PATCH] conversationmodel: fix insert last interaction for conv request GitLab: #1571 Change-Id: I848c6f8e1867f552a55105a4d528f51a59676ce4 --- src/libclient/conversationmodel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libclient/conversationmodel.cpp b/src/libclient/conversationmodel.cpp index a8f6b19c2..3f196f6ea 100644 --- a/src/libclient/conversationmodel.cpp +++ b/src/libclient/conversationmodel.cpp @@ -2823,7 +2823,7 @@ ConversationModelPimpl::addConversationRequest(const MapStringString& convReques {"linearizedParent", ""}, }; auto msg = interaction::Info(messageMap, linked.owner.profileInfo.uri); - conversation.interactions->insert(convId, msg); + conversation.interactions->insert(convId, msg, 0); // add the author to the contact model's contact list as a PENDING // if they aren't already a contact -- GitLab