refactor code

This commit is contained in:
Benjamin Reis 2018-02-22 11:35:17 +01:00
parent 4ba2aa8af0
commit 0a0ff95237

View file

@ -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<unsigned int>(notifyId));
confInfo.setState(isFullState ? StateType::full : StateType::partial);
if (!confInfo.getConferenceDescription()) {
ConferenceDescriptionType description = ConferenceDescriptionType();
confInfo.setConferenceDescription(description);