2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 14:45:14 +00:00

Remove MTP from requestWallPaper interface.

This commit is contained in:
John Preston
2022-08-10 15:24:42 +03:00
parent e9fd249c5a
commit ab3d3a449b
3 changed files with 6 additions and 6 deletions

View File

@@ -171,7 +171,7 @@ public:
void requestWallPaper(
const QString &slug,
Fn<void(const Data::WallPaper &)> done,
Fn<void(const MTP::Error &)> fail);
Fn<void()> fail);
void requestFullPeer(not_null<PeerData*> peer);
@@ -656,7 +656,7 @@ private:
mtpRequestId _wallPaperRequestId = 0;
QString _wallPaperSlug;
Fn<void(const Data::WallPaper &)> _wallPaperDone;
Fn<void(const MTP::Error &)> _wallPaperFail;
Fn<void()> _wallPaperFail;
mtpRequestId _contactSignupSilentRequestId = 0;
std::optional<bool> _contactSignupSilent;