mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-20 12:38:09 +00:00
do not increment lastNotify on a full state
This commit is contained in:
parent
6aee9994b9
commit
c5cfbc5892
2 changed files with 2 additions and 2 deletions
|
|
@ -52,7 +52,7 @@ private:
|
|||
ChatRoomId chatRoomId;
|
||||
|
||||
LocalConference *conf = nullptr;
|
||||
unsigned int lastNotify = 0;
|
||||
unsigned int lastNotify = 1;
|
||||
|
||||
std::string createNotify (Xsd::ConferenceInfo::ConferenceType confInfo, int notifyId = -1, bool isFullState = false);
|
||||
std::string createNotifySubjectChanged (const std::string &subject, int notifyId = -1);
|
||||
|
|
|
|||
|
|
@ -389,7 +389,7 @@ void LocalConferenceEventHandler::subscribeReceived (LinphoneEvent *lev) {
|
|||
device->setConferenceSubscribeEvent(lev);
|
||||
if (lastNotify == 0) {
|
||||
lInfo() << "Sending initial notify of conference:" << d->conf->getConferenceAddress().asString() << " to: " << device->getAddress().asString();
|
||||
d->notifyFullState(d->createNotifyFullState(), device);
|
||||
d->notifyFullState(d->createNotifyFullState(static_cast<int>(d->lastNotify)), device);
|
||||
} else if (lastNotify < d->lastNotify) {
|
||||
lInfo() << "Sending all missed notify [" << lastNotify << "-" << d->lastNotify <<
|
||||
"] for conference:" << d->conf->getConferenceAddress().asString() <<
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue