From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: alina sireneva <alina@tei.su>
Date: Sat, 4 Jul 2026 03:46:18 +0400
Subject: full-quality sticker previews

---
 .../main/java/org/telegram/ui/Cells/StickerEmojiCell.java    | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/TMessagesProj/src/main/java/org/telegram/ui/Cells/StickerEmojiCell.java b/TMessagesProj/src/main/java/org/telegram/ui/Cells/StickerEmojiCell.java
index 0000000..0000000 100644
--- a/TMessagesProj/src/main/java/org/telegram/ui/Cells/StickerEmojiCell.java
+++ b/TMessagesProj/src/main/java/org/telegram/ui/Cells/StickerEmojiCell.java
@@ -248,7 +248,10 @@ public class StickerEmojiCell extends FrameLayout implements NotificationCenter.
                     imageView.setImage(ImageLocation.getForDocument(document), imageFilter, null, null, parentObject, 1);
                 }
             } else {
-                if (svgThumb != null) {
+                boolean inu_fullQuality = org.telegram.messenger.ApplicationLoader.getAutodownloadNetworkType() == org.telegram.messenger.StatsController.TYPE_WIFI || FileLoader.getInstance(currentAccount).getPathToAttach(document, true).exists();
+                if (inu_fullQuality) {
+                    imageView.setImage(ImageLocation.getForDocument(document), imageFilter, ImageLocation.getForDocument(thumb, document), null, svgThumb, document.size, "webp", parentObject, 1);
+                } else if (svgThumb != null) {
                     if (thumb != null) {
                         imageView.setImage(ImageLocation.getForDocument(thumb, document), imageFilter, svgThumb, "webp", parentObject, 1);
                     } else {
