diff --git a/src/jamidht/conversation_module.cpp b/src/jamidht/conversation_module.cpp index e8a116f87ff361392ecbb9a50acd68ab53920bd3..7f162fea1de925760cd51732292503dc3f017464 100644 --- a/src/jamidht/conversation_module.cpp +++ b/src/jamidht/conversation_module.cpp @@ -2112,6 +2112,9 @@ ConversationModule::onSyncData(const SyncMsg& msg, auto conv = pimpl_->startConversation(convInfo); std::unique_lock<std::mutex> lk(conv->mtx); + auto update = std::max(convInfo.created, convInfo.removed) >= std::max(conv->info.created, conv->info.removed); + if (!update) + continue; if (not convInfo.isRemoved()) { // If multi devices, it can detect a conversation that was already // removed, so just check if the convinfo contains a removed conv