From 35a535705bb42d41c50f1bc9f04c356f307a154f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Asiel=20D=C3=ADaz=20Ben=C3=ADtez?= Date: Tue, 3 May 2022 06:53:16 -0400 Subject: [PATCH] Update src/org/thoughtcrime/securesms/WebxdcActivity.java Co-authored-by: bjoern --- src/org/thoughtcrime/securesms/WebxdcActivity.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/org/thoughtcrime/securesms/WebxdcActivity.java b/src/org/thoughtcrime/securesms/WebxdcActivity.java index 6774f654b..c27e36258 100644 --- a/src/org/thoughtcrime/securesms/WebxdcActivity.java +++ b/src/org/thoughtcrime/securesms/WebxdcActivity.java @@ -111,7 +111,8 @@ public class WebxdcActivity extends WebViewActivity implements DcEventCenter.DcE // internal page, continue loading in the WebView return false; } - return super.openOnlineUrl(url); + Toast.makeText(this, "Please embed needed resources.", Toast.LENGTH_LONG).show(); + return true; // returning `true` causes the WebView to abort loading } @Override