From 1223b8050a33e9ead66463020643d65ac1b578a1 Mon Sep 17 00:00:00 2001 From: John Preston Date: Wed, 18 Sep 2024 12:31:44 +0400 Subject: [PATCH] f Migrate background setting to TDLib. --- Telegram/SourceFiles/window/themes/window_theme_editor_box.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Telegram/SourceFiles/window/themes/window_theme_editor_box.cpp b/Telegram/SourceFiles/window/themes/window_theme_editor_box.cpp index 927976b265fe06..69221882b04743 100644 --- a/Telegram/SourceFiles/window/themes/window_theme_editor_box.cpp +++ b/Telegram/SourceFiles/window/themes/window_theme_editor_box.cpp @@ -425,6 +425,7 @@ std::shared_ptr PrepareThemeMedia( result->thumb = thumbnail; result->thumbname = "thumb.jpg"; result->setThumbData(thumbnailBytes); +#if 0 // mtp result->document = MTP_document( MTP_flags(0), MTP_long(id), @@ -437,6 +438,7 @@ std::shared_ptr PrepareThemeMedia( MTPVector(), MTP_int(dcId), MTP_vector(attributes)); +#endif return result; }