Remove force_sync after starting auth key destroy.

This commit is contained in:
levlam 2024-02-03 23:14:02 +03:00
parent 9080b84649
commit 81907c1c7a

View File

@ -1172,7 +1172,6 @@ void AuthManager::destroy_auth_keys() {
} }
}); });
G()->td_db()->get_binlog_pmc()->set("auth", "destroy"); G()->td_db()->get_binlog_pmc()->set("auth", "destroy");
G()->td_db()->get_binlog_pmc()->force_sync(std::move(promise), "destroy_auth_keys");
} }
void AuthManager::on_delete_account_result(NetQueryPtr &&net_query) { void AuthManager::on_delete_account_result(NetQueryPtr &&net_query) {