mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 14:45:14 +00:00
Don't use MTP* for WallPaper flags.
This commit is contained in:
@@ -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()
|
||||
|
Reference in New Issue
Block a user