reset a limit time for Friend list unsubscription

This commit is contained in:
Danmei Chen 2021-03-29 17:02:01 +02:00
parent 03ee02ded8
commit d86a33e435

View file

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