mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Respect wallpaper_overriden flag.
This commit is contained in:
@@ -515,7 +515,8 @@ void ApplyUserUpdate(not_null<UserData*> user, const MTPDuserFull &update) {
|
||||
|
||||
if (const auto paper = update.vwallpaper()) {
|
||||
user->setWallPaper(
|
||||
Data::WallPaper::Create(&user->session(), *paper));
|
||||
Data::WallPaper::Create(&user->session(), *paper),
|
||||
update.is_wallpaper_overridden());
|
||||
} else {
|
||||
user->setWallPaper({});
|
||||
}
|
||||
|
Reference in New Issue
Block a user