mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-20 20:48:07 +00:00
refactor code
This commit is contained in:
parent
e06f10ed23
commit
fbdca469c7
1 changed files with 1 additions and 5 deletions
|
|
@ -321,11 +321,7 @@ void LocalConferenceEventHandlerPrivate::notifyResponseCb (const LinphoneEvent *
|
|||
// -----------------------------------------------------------------------------
|
||||
|
||||
string LocalConferenceEventHandlerPrivate::createNotify (ConferenceType confInfo, int notifyId, bool isFullState) {
|
||||
if (notifyId == -1) {
|
||||
lastNotify = lastNotify + 1;
|
||||
confInfo.setVersion(lastNotify);
|
||||
} else
|
||||
confInfo.setVersion(static_cast<unsigned int>(notifyId));
|
||||
confInfo.setVersion(notifyId == -1 ? ++lastNotify : static_cast<unsigned int>(notifyId));
|
||||
|
||||
confInfo.setState(isFullState ? StateType::full : StateType::partial);
|
||||
if (!confInfo.getConferenceDescription()) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue