1
0
mirror of https://framagit.org/tom79/nitterizeme synced 2025-01-28 16:21:02 +01:00

remove tracking params when sharing

This commit is contained in:
Thomas 2020-04-18 18:32:56 +02:00
parent c8471ce610
commit 6722230515

View File

@ -607,6 +607,8 @@ public class TransformActivity extends Activity {
}; };
thread.start(); thread.start();
return; return;
}else {
newUrl = remove_tracking_param(url);
} }
if (newUrl != null) { if (newUrl != null) {
extraText = extraText.replaceAll(Pattern.quote(url), Matcher.quoteReplacement(newUrl)); extraText = extraText.replaceAll(Pattern.quote(url), Matcher.quoteReplacement(newUrl));