From 0a0ff9523720dd52cf03d899b1d48b221e203623 Mon Sep 17 00:00:00 2001 From: Benjamin Reis Date: Thu, 22 Feb 2018 11:35:17 +0100 Subject: [PATCH] refactor code --- src/conference/handlers/local-conference-event-handler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/conference/handlers/local-conference-event-handler.cpp b/src/conference/handlers/local-conference-event-handler.cpp index 0e3b12c72..9e246f9b0 100644 --- a/src/conference/handlers/local-conference-event-handler.cpp +++ b/src/conference/handlers/local-conference-event-handler.cpp @@ -322,8 +322,8 @@ void LocalConferenceEventHandlerPrivate::notifyResponseCb (const LinphoneEvent * string LocalConferenceEventHandlerPrivate::createNotify (ConferenceType confInfo, int notifyId, bool isFullState) { confInfo.setVersion(notifyId == -1 ? ++lastNotify : static_cast(notifyId)); - confInfo.setState(isFullState ? StateType::full : StateType::partial); + if (!confInfo.getConferenceDescription()) { ConferenceDescriptionType description = ConferenceDescriptionType(); confInfo.setConferenceDescription(description);