From 6d5b9c58f2e29bd387c44773f4e39477eb86ba5c Mon Sep 17 00:00:00 2001 From: Gaelle Braud Date: Thu, 22 Jan 2026 14:38:47 +0100 Subject: [PATCH] Do not add chatroom to the list if created from a conference call --- Linphone/core/chat/ChatList.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Linphone/core/chat/ChatList.cpp b/Linphone/core/chat/ChatList.cpp index 44e22befc..65808e842 100644 --- a/Linphone/core/chat/ChatList.cpp +++ b/Linphone/core/chat/ChatList.cpp @@ -177,6 +177,10 @@ void ChatList::setSelf(QSharedPointer me) { [this, addChatToList](const std::shared_ptr &core, const std::shared_ptr &chatRoom, linphone::ChatRoom::State state) { if (state == linphone::ChatRoom::State::Created) { + if (chatRoom->getConferenceInfo()) { + qWarning() << log().arg("Chatroom created during a conference, return"); + return; + } auto chatAccount = chatRoom->getAccount(); auto defaultAccount = core->getDefaultAccount(); if (!chatAccount || !defaultAccount) return;