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); }); }