diff --git a/src/manager.cpp b/src/manager.cpp index 89d982aa0a2f46e0b5fa5dbdb9ff559c5cef35e9..ce197976f540354cabdfc34982b17f441c485133 100644 --- a/src/manager.cpp +++ b/src/manager.cpp @@ -3016,10 +3016,6 @@ Manager::loadAccountAndConversation(const std::string& accountId, return; } - if (convId.empty() && !loadAll) { - // Nothing to load. Only need to start account - return; - } if (auto jamiAcc = std::dynamic_pointer_cast<JamiAccount>(account)) { jamiAcc->setActive(true); jamiAcc->reloadContacts(); @@ -3029,7 +3025,7 @@ Manager::loadAccountAndConversation(const std::string& accountId, convModule->reloadRequests(); if (loadAll) { convModule->loadConversations(); - } else { + } else if (!convId.empty()) { jamiAcc->loadConversation(convId); } }