~singpolyma/cheogram-android

56b6965276e1ba6d54d1f99eed66b2ceae3ff96a — Stephen Paul Weber a month ago c651487 2.15.3-3
Don't try as sticker pack if no pack_id
1 files changed, 1 insertions(+), 1 deletions(-)

M src/main/java/eu/siacs/conversations/ui/UriHandlerActivity.java
M src/main/java/eu/siacs/conversations/ui/UriHandlerActivity.java => src/main/java/eu/siacs/conversations/ui/UriHandlerActivity.java +1 -1
@@ 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;