diff --git a/src/jamidht/conversation_module.cpp b/src/jamidht/conversation_module.cpp index 4f2af546eb23e32faa5f19cfca6b0e3f8584a98d..83e74033ca727c723534eb424708990b4d3c0ae9 100644 --- a/src/jamidht/conversation_module.cpp +++ b/src/jamidht/conversation_module.cpp @@ -2068,7 +2068,7 @@ ConversationModule::startConversation(ConversationMode mode, const dht::InfoHash std::unique_lock lk(conv->mtx); conv->info.created = std::time(nullptr); conv->info.members.emplace(pimpl_->username_); - if (!otherMember) + if (otherMember) conv->info.members.emplace(otherMember.toString()); conv->conversation = conversation; addConvInfo(conv->info);