From d86a33e43565bb4f7e15c7b2f08f32af03a2f0f2 Mon Sep 17 00:00:00 2001 From: Danmei Chen Date: Mon, 29 Mar 2021 17:02:01 +0200 Subject: [PATCH] reset a limit time for Friend list unsubscription --- Classes/LinphoneCoreSettingsStore.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Classes/LinphoneCoreSettingsStore.m b/Classes/LinphoneCoreSettingsStore.m index e8b6f0599..3a652ffcc 100644 --- a/Classes/LinphoneCoreSettingsStore.m +++ b/Classes/LinphoneCoreSettingsStore.m @@ -960,7 +960,7 @@ linphone_core_remove_proxy_config(LC, config); if (ai) { // Friend list unsubscription above is not instantanous, so give a bit of a time margin before finishing the removal of the auth info - dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(20 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{ + dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(5 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{ linphone_core_remove_auth_info(LC, ai); }); }