From 087aeaf0d02984a4d21e3d3767bb034adedb9065 Mon Sep 17 00:00:00 2001 From: Benjamin Reis Date: Tue, 31 Oct 2017 09:31:22 +0100 Subject: [PATCH] confernce is already created when the refer is received --- coreapi/callbacks.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coreapi/callbacks.c b/coreapi/callbacks.c index faf7813d8..7930e3029 100644 --- a/coreapi/callbacks.c +++ b/coreapi/callbacks.c @@ -799,8 +799,8 @@ static void refer_received(SalOp *op, const SalAddress *refer_to){ } else { LinphoneChatRoom *cr = _linphone_client_group_chat_room_new(lc, addr.asString().c_str(), nullptr); L_GET_CPP_PTR_FROM_C_OBJECT(cr)->join(); + L_GET_PRIVATE_FROM_C_OBJECT(cr)->setState(LinphonePrivate::ChatRoom::State::Created); L_GET_PRIVATE(lc->cppCore)->insertChatRoomWithDb(L_GET_CPP_PTR_FROM_C_OBJECT(cr)); - static_cast(op)->reply(SalReasonNone); return; }