mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Handle t.me/bg links with wallpapers / colors.
This commit is contained in:
@@ -4061,7 +4061,7 @@ bool readBackground() {
|
||||
#ifndef OS_MAC_OLD
|
||||
reader.setAutoTransform(true);
|
||||
#endif // OS_MAC_OLD
|
||||
if (reader.read(&image)) {
|
||||
if (reader.read(&image) || Window::Theme::GetWallPaperColor(slug)) {
|
||||
_backgroundCanWrite = false;
|
||||
Window::Theme::Background()->setImage({
|
||||
id,
|
||||
|
Reference in New Issue
Block a user