1
0
Fork 0
mirror of https://git.jami.net/savoirfairelinux/jami-client-qt.git synced 2025-09-10 12:03:18 +02:00

conversationmodel: fix insert last interaction for conv request

GitLab: #1571
Change-Id: I848c6f8e1867f552a55105a4d528f51a59676ce4
This commit is contained in:
Sébastien Blin 2024-02-20 11:20:27 -05:00
parent 23316993e5
commit 1ec2d5f27b

View file

@ -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