GitOrigin-RevId: e156a9f49174de0a7f10bffd1eb093ef10572b63
This commit is contained in:
levlam 2018-03-06 02:03:06 +03:00
parent 0fb474be9b
commit 599c4bd4ae

View File

@ -4545,7 +4545,7 @@ Status Td::init(DbKey key) {
VLOG(td_init) << "Ping datacenter";
if (!auth_manager_->is_authorized()) {
create_handler<GetNearestDcQuery>(Auto())->send();
create_handler<GetNearestDcQuery>(Promise<string>())->send();
} else {
updates_manager_->get_difference("init");
}