2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

Update API scheme on layer 107.

This commit is contained in:
John Preston
2019-12-29 14:41:10 +03:00
parent d47c138f23
commit 66204bae95
8 changed files with 49 additions and 20 deletions

View File

@@ -593,6 +593,9 @@ void ChatBackground::checkUploadWallPaper() {
_session->data().documentConvert(
_session->data().document(documentId),
data.vdocument());
}, [&](const MTPDwallPaperNoFile &data) {
LOG(("API Error: "
"Got wallPaperNoFile after account.UploadWallPaper."));
});
if (const auto paper = Data::WallPaper::Create(result)) {
setPaper(*paper);