diff --git a/daemon b/daemon index 977ee99c..c5bbd21e 160000 --- a/daemon +++ b/daemon @@ -1 +1 @@ -Subproject commit 977ee99c115f8435b0aa0521aa5b54ea7a2d4895 +Subproject commit c5bbd21e1c125f4012e2f88f485816a438ae62a7 diff --git a/src/libclient/conversationmodel.cpp b/src/libclient/conversationmodel.cpp index c008ca5d..55d703c8 100644 --- a/src/libclient/conversationmodel.cpp +++ b/src/libclient/conversationmodel.cpp @@ -3256,6 +3256,16 @@ ConversationModelPimpl::addSwarmConversation(const QString& convId) } } if (details["syncing"] == "true") { + MapStringString messageMap = { + {"type", "initial"}, + {"author", otherMember}, + {"timestamp", details["created"]}, + {"linearizedParent", ""}, + }; + auto msg = interaction::Info(messageMap, linked.owner.profileInfo.uri); + + insertSwarmInteraction(convId, msg, conversation, true); + conversation.lastMessageUid = convId; conversation.needsSyncing = true; Q_EMIT linked.conversationUpdated(conversation.uid); Q_EMIT linked.dataChanged(indexOf(conversation.uid));