2
0
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:
John Preston
2023-11-29 18:00:50 +04:00
parent 1a69975131
commit 514ced1d8e
7 changed files with 47 additions and 22 deletions

View File

@@ -1195,7 +1195,8 @@ void History::applyServiceChanges(
}, [&](const MTPDmessageActionSetChatWallPaper &data) {
if (item->out() || data.is_for_both()) {
peer->setWallPaper(
Data::WallPaper::Create(&session(), data.vwallpaper()));
Data::WallPaper::Create(&session(), data.vwallpaper()),
!item->out() && data.is_for_both());
}
}, [&](const MTPDmessageActionChatJoinedByRequest &data) {
processJoinedPeer(item->from());