From 56b6965276e1ba6d54d1f99eed66b2ceae3ff96a Mon Sep 17 00:00:00 2001 From: Stephen Paul Weber Date: Wed, 24 Jul 2024 13:20:48 -0500 Subject: [PATCH] Don't try as sticker pack if no pack_id --- src/main/java/eu/siacs/conversations/ui/UriHandlerActivity.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/eu/siacs/conversations/ui/UriHandlerActivity.java b/src/main/java/eu/siacs/conversations/ui/UriHandlerActivity.java index 3c1e218f2..637a7f55f 100644 --- a/src/main/java/eu/siacs/conversations/ui/UriHandlerActivity.java +++ b/src/main/java/eu/siacs/conversations/ui/UriHandlerActivity.java @@ -160,7 +160,7 @@ public class UriHandlerActivity extends BaseActivity { if (uri == null) return true; - if ("sgnl".equals(uri.getScheme())) { + if ("sgnl".equals(uri.getScheme()) && uri.getQueryParameter("pack_id") != null) { stickers = Uri.parse("https://stickers.cheogram.com/signal/" + uri.getQueryParameter("pack_id") + "," + uri.getQueryParameter("pack_key")); if (hasStoragePermission(1)) downloadStickers(); return false; -- 2.45.2