mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 14:38:15 +00:00
Respect wallpaper_overriden flag.
This commit is contained in:
@@ -1996,7 +1996,8 @@ void Updates::feedUpdate(const MTPUpdate &update) {
|
||||
if (const auto peer = session().data().peerLoaded(peerFromMTP(d.vpeer()))) {
|
||||
if (const auto paper = d.vwallpaper()) {
|
||||
peer->setWallPaper(
|
||||
Data::WallPaper::Create(&session(), *paper));
|
||||
Data::WallPaper::Create(&session(), *paper),
|
||||
d.is_wallpaper_overridden());
|
||||
} else {
|
||||
peer->setWallPaper({});
|
||||
}
|
||||
|
Reference in New Issue
Block a user