From d7bc4b66ac414e6b6b5c0cd30bedcbcde4a9c05b Mon Sep 17 00:00:00 2001 From: Benjamin Reis Date: Wed, 29 Nov 2017 14:33:34 +0100 Subject: [PATCH] do not notify empty subject --- src/conference/handlers/remote-conference-event-handler.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/conference/handlers/remote-conference-event-handler.cpp b/src/conference/handlers/remote-conference-event-handler.cpp index a2791164d..4f0904dd6 100644 --- a/src/conference/handlers/remote-conference-event-handler.cpp +++ b/src/conference/handlers/remote-conference-event-handler.cpp @@ -55,7 +55,8 @@ void RemoteConferenceEventHandlerPrivate::simpleNotifyReceived (const string &xm if (entityAddress == chatRoomId.getPeerAddress()) { if ( confInfo->getConferenceDescription().present() && - confInfo->getConferenceDescription().get().getSubject().present() + confInfo->getConferenceDescription().get().getSubject().present() && + !confInfo->getConferenceDescription().get().getSubject().get().empty() ) confListener->onSubjectChanged( make_shared(