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());