Don't use MTP* for WallPaper flags.

This commit is contained in:
John Preston
2021-08-12 12:32:30 +03:00
parent 474a6a71d9
commit 85cc3b30a0
8 changed files with 321 additions and 136 deletions
+1 -1
View File
@@ -1213,7 +1213,7 @@ void MainWidget::setReadyChatBackground(
const auto resetToDefault = image.isNull()
&& !background.document()
&& !background.backgroundColor()
&& background.backgroundColors().empty()
&& !Data::IsLegacy1DefaultWallPaper(background);
const auto ready = resetToDefault
? Data::DefaultWallPaper()