Update layer 91.

GitOrigin-RevId: 0374bd4e7e4aa9587dc5ceb6b3ecba4f09c03517
This commit is contained in:
levlam 2019-03-10 21:30:15 +03:00
parent 2f61afab89
commit 8476dd88af
3 changed files with 5 additions and 5 deletions

View File

@ -1281,6 +1281,6 @@ phone.saveCallDebug#277add7e peer:InputPhoneCall debug:DataJSON = Bool;
langpack.getLangPack#f2f2330a lang_pack:string lang_code:string = LangPackDifference;
langpack.getStrings#efea3803 lang_pack:string lang_code:string keys:Vector<string> = Vector<LangPackString>;
langpack.getDifference#9d51e814 lang_code:string from_version:int = LangPackDifference;
langpack.getDifference#cd984aa5 lang_pack:string lang_code:string from_version:int = LangPackDifference;
langpack.getLanguages#42c6978f lang_pack:string = Vector<LangPackLanguage>;
langpack.getLanguage#6a596502 lang_pack:string lang_code:string = LangPackLanguage;

Binary file not shown.

View File

@ -336,10 +336,10 @@ void LanguagePackManager::send_language_get_difference_query(Language *language,
std::move(language_code), result->version_, true, vector<string>(), std::move(result->strings_),
Promise<td_api::object_ptr<td_api::languagePackStrings>>());
});
send_with_promise(
G()->net_query_creator().create(create_storer(telegram_api::langpack_getDifference(language_code, version)),
DcId::main(), NetQuery::Type::Common, NetQuery::AuthFlag::Off),
std::move(request_promise));
send_with_promise(G()->net_query_creator().create(
create_storer(telegram_api::langpack_getDifference(language_pack_, language_code, version)),
DcId::main(), NetQuery::Type::Common, NetQuery::AuthFlag::Off),
std::move(request_promise));
}
void LanguagePackManager::on_language_pack_too_long(string language_code) {