mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-25 06:54:43 +00:00
Added Add-to-Sticker-Set submenu for stickers from foreign packs.
This commit is contained in:
@@ -1121,6 +1121,16 @@ std::shared_ptr<DynamicImage> MakeDocumentThumbnail(
|
||||
false);
|
||||
}
|
||||
|
||||
std::shared_ptr<DynamicImage> MakeDocumentThumbnail(
|
||||
not_null<DocumentData*> document,
|
||||
Data::FileOrigin origin) {
|
||||
return std::make_shared<VideoThumbnail>(
|
||||
document,
|
||||
origin,
|
||||
false,
|
||||
false);
|
||||
}
|
||||
|
||||
std::shared_ptr<DynamicImage> MakeDocumentThumbnailCenterCrop(
|
||||
not_null<DocumentData*> document,
|
||||
FullMsgId fullId) {
|
||||
|
||||
Reference in New Issue
Block a user