From c99d363fc00ff77aa174208f16e3fc47825d2a93 Mon Sep 17 00:00:00 2001 From: Jehan Monnier Date: Mon, 12 Jun 2017 15:32:22 +0200 Subject: [PATCH] No longer check for notify version as it can be reset by belle-sip (new dialog) --- coreapi/friendlist.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/coreapi/friendlist.c b/coreapi/friendlist.c index 4738b7f3a..7125cca85 100644 --- a/coreapi/friendlist.c +++ b/coreapi/friendlist.c @@ -222,10 +222,8 @@ static void linphone_friend_list_parse_multipart_related_body(LinphoneFriendList } version = atoi(version_str); linphone_free_xml_text_content(version_str); - if (version < list->expected_notification_version) { - ms_warning("rlmi+xml: Discarding received notification with version %d because %d was expected", version, list->expected_notification_version); - linphone_friend_list_update_subscriptions(list); /* Refresh subscription to get new full state notify. */ - goto end; + if (version < list->expected_notification_version) { /*no longuer an error as dialog may be silently restarting by the refresher*/ + ms_warning("rlmi+xml: Received notification with version %d expected was %d, dialog may have been reseted", version, list->expected_notification_version); } full_state_str = linphone_get_xml_attribute_text_content(xml_ctx, "/rlmi:list", "fullState");