2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 14:38:15 +00:00

Update API scheme to layer 133.

This commit is contained in:
John Preston
2021-08-25 11:15:05 +03:00
parent ce7a3c354c
commit a6c98f4bb4
61 changed files with 618 additions and 615 deletions

View File

@@ -224,7 +224,7 @@ BackgroundBox::Inner::Inner(
void BackgroundBox::Inner::requestPapers() {
_api.request(MTPaccount_GetWallPapers(
MTP_int(_session->data().wallpapersHash())
MTP_long(_session->data().wallpapersHash())
)).done([=](const MTPaccount_WallPapers &result) {
if (_session->data().updateWallpapers(result)) {
updatePapers();