From a6239a706249e2993f0baab56f60b53ebc90b595 Mon Sep 17 00:00:00 2001 From: John Preston Date: Wed, 23 Oct 2024 18:36:16 +0400 Subject: [PATCH] f Remove setattributes(), add local DocumentData generation. --- Telegram/SourceFiles/chat_helpers/stickers_lottie.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Telegram/SourceFiles/chat_helpers/stickers_lottie.cpp b/Telegram/SourceFiles/chat_helpers/stickers_lottie.cpp index 73b8d028a66784..6c6635d45af3d2 100644 --- a/Telegram/SourceFiles/chat_helpers/stickers_lottie.cpp +++ b/Telegram/SourceFiles/chat_helpers/stickers_lottie.cpp @@ -349,7 +349,7 @@ not_null 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());