From b80aff9c5596b747cda0ed54624be76380d9fb01 Mon Sep 17 00:00:00 2001 From: Benjamin Reis Date: Thu, 25 Jan 2018 15:40:24 +0100 Subject: [PATCH] change last notify id sooner --- src/conference/handlers/remote-conference-event-handler.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/conference/handlers/remote-conference-event-handler.cpp b/src/conference/handlers/remote-conference-event-handler.cpp index 2d7219531..fb743e13e 100644 --- a/src/conference/handlers/remote-conference-event-handler.cpp +++ b/src/conference/handlers/remote-conference-event-handler.cpp @@ -55,6 +55,9 @@ void RemoteConferenceEventHandlerPrivate::simpleNotifyReceived (const string &xm IdentityAddress entityAddress(confInfo->getEntity().c_str()); if (entityAddress == chatRoomId.getPeerAddress()) { + if (confInfo->getVersion().present()) + lastNotify = confInfo->getVersion().get(); + if (confInfo->getConferenceDescription().present()) { if (confInfo->getConferenceDescription().get().getSubject().present() && !confInfo->getConferenceDescription().get().getSubject().get().empty() @@ -79,8 +82,6 @@ void RemoteConferenceEventHandlerPrivate::simpleNotifyReceived (const string &xm confListener->onConferenceKeywordsChanged(keywords); } } - if (confInfo->getVersion().present()) - lastNotify = confInfo->getVersion().get(); if (!confInfo->getUsers().present()) return;