Skip to content

Commit

Permalink
f Migrate background setting to TDLib.
Browse files Browse the repository at this point in the history
  • Loading branch information
john-preston committed Sep 18, 2024
1 parent eef30ba commit 1223b80
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -425,6 +425,7 @@ std::shared_ptr<FilePrepareResult> PrepareThemeMedia(
result->thumb = thumbnail;
result->thumbname = "thumb.jpg";
result->setThumbData(thumbnailBytes);
#if 0 // mtp
result->document = MTP_document(
MTP_flags(0),
MTP_long(id),
Expand All @@ -437,6 +438,7 @@ std::shared_ptr<FilePrepareResult> PrepareThemeMedia(
MTPVector<MTPVideoSize>(),
MTP_int(dcId),
MTP_vector<MTPDocumentAttribute>(attributes));
#endif
return result;
}

Expand Down

0 comments on commit 1223b80

Please sign in to comment.