do not notify empty subject

This commit is contained in:
Benjamin Reis 2017-11-29 14:33:34 +01:00
parent e1d909d1c5
commit d7bc4b66ac

View file

@ -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<ConferenceSubjectEvent>(