From e3bfed6edc6d86d8b19b71f6913c8eca3e1c63f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrien=20B=C3=A9raud?= <adrien.beraud@savoirfairelinux.com> Date: Thu, 29 Dec 2022 17:54:06 -0500 Subject: [PATCH] misc: fix warning Change-Id: I06edd41cc1ee73a7c547a72c507b7a504eda7786 --- src/jamidht/conversation_module.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/jamidht/conversation_module.cpp b/src/jamidht/conversation_module.cpp index 39c6152b17..700ead4f28 100644 --- a/src/jamidht/conversation_module.cpp +++ b/src/jamidht/conversation_module.cpp @@ -744,7 +744,7 @@ ConversationModule::Impl::removeConversation(const std::string& conversationId) if (it->second->mode() != ConversationMode::ONE_TO_ONE) { // For one to one, we do not notify the leave. The other can still generate request // and this is managed by the banned part. If we re-accept, the old conversation will be - // retrieven + // retrieved auto commitId = it->second->leave(); if (hasMembers) { JAMI_DBG() << "Wait that someone sync that user left conversation " << conversationId; @@ -2241,7 +2241,7 @@ ConversationModule::hostConference(const std::string& conversationId, value["confId"] = confId; value["type"] = "application/call-history+json"; conv->hostConference(std::move(value), - std::move([w = pimpl_->weak(), + [w = pimpl_->weak(), conversationId](bool ok, const std::string& commitId) { if (ok) { if (auto shared = w.lock()) @@ -2250,7 +2250,7 @@ ConversationModule::hostConference(const std::string& conversationId, JAMI_ERR("Failed to send message to conversation %s", conversationId.c_str()); } - })); + }); // When conf finished = remove host & commit // Master call, so when it's stopped, the conference will be stopped (as we use the hold state -- GitLab