From 6efbd9c0059877cd9614eb564a0cf0ce635f1fff Mon Sep 17 00:00:00 2001 From: Thomas Date: Mon, 4 May 2020 18:45:02 +0200 Subject: [PATCH] force local --- .../app/fedilab/nitterizeme/activities/TransformActivity.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/src/main/java/app/fedilab/nitterizeme/activities/TransformActivity.java b/app/src/main/java/app/fedilab/nitterizeme/activities/TransformActivity.java index 8647376..bfa31e2 100644 --- a/app/src/main/java/app/fedilab/nitterizeme/activities/TransformActivity.java +++ b/app/src/main/java/app/fedilab/nitterizeme/activities/TransformActivity.java @@ -290,6 +290,9 @@ public class TransformActivity extends Activity { if (host != null && host.compareTo(invidiousHost) != 0) { transformedURL = url.replace(host, invidiousHost); } + if (!transformedURL.contains("lolal=true")) { + transformedURL += "&local=true"; + } intent.setData(Uri.parse(transformedURL)); forwardToBrowser(intent); } else {