mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 14:38:15 +00:00
Refresh wallpaper file references.
This commit is contained in:
@@ -2829,6 +2829,8 @@ void ApiWrap::refreshFileReference(
|
||||
request(
|
||||
MTPmessages_GetSavedGifs(MTP_int(0)),
|
||||
[] { crl::on_main([] { Local::writeSavedGifs(); }); });
|
||||
}, [&](Data::FileOriginWallpapers data) {
|
||||
request(MTPaccount_GetWallPapers(MTP_int(0)));
|
||||
}, [&](std::nullopt_t) {
|
||||
fail();
|
||||
});
|
||||
|
Reference in New Issue
Block a user