Commit 0a0ff952 authored by Benjamin REIS's avatar Benjamin REIS

refactor code

parent 4ba2aa8a
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment