fix crash

This commit is contained in:
Benjamin Reis 2018-03-23 14:21:33 +01:00
parent 694856cfab
commit 6259ae73bd

View file

@ -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);