Skip to content

Commit

Permalink
f Remove setattributes(), add local DocumentData generation.
Browse files Browse the repository at this point in the history
  • Loading branch information
john-preston committed Oct 23, 2024
1 parent 487cd62 commit a6239a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Telegram/SourceFiles/chat_helpers/stickers_lottie.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ not_null<DocumentData*> GenerateLocalTgsSticker(
"WEBP",
result->thumbbytes));
#endif
const auto document = _session->data().processDocument(result->document);
const auto document = session->data().processDocument(result->document);
document->setLocation(Core::FileLocation(path));

Ensures(document->sticker());
Expand Down

0 comments on commit a6239a7

Please sign in to comment.