From 6259ae73bd5c297896321a7eda409b4873c47cc2 Mon Sep 17 00:00:00 2001 From: Benjamin Reis Date: Fri, 23 Mar 2018 14:21:33 +0100 Subject: [PATCH] fix crash --- .../handlers/remote-conference-list-event-handler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/conference/handlers/remote-conference-list-event-handler.cpp b/src/conference/handlers/remote-conference-list-event-handler.cpp index b20a92a5a..78ebc6947 100644 --- a/src/conference/handlers/remote-conference-list-event-handler.cpp +++ b/src/conference/handlers/remote-conference-list-event-handler.cpp @@ -129,7 +129,7 @@ void RemoteConferenceListEventHandler::notifyReceived (const Content *notifyCont char *from = linphone_address_as_string(linphone_event_get_from(lev)); const IdentityAddress local(from); - if (notifyContent->getContentType() != ContentType::Multipart) { + if (notifyContent->getContentType() == ContentType::ConferenceInfo) { // Simple notify received directly from a chat-room const string &xmlBody = notifyContent->getBodyAsString(); istringstream data(xmlBody);