This commit is contained in:
Thomas 2020-05-23 12:20:37 +02:00
parent c4fb4f8276
commit d317f036d1
1 changed files with 4 additions and 0 deletions

View File

@ -244,6 +244,10 @@ public class Utils {
newUrl = scheme + nitterHost + nitter_directory;
}
}
if (newUrl != null && (newUrl.endsWith("tweets") || newUrl.endsWith("tweets/"))) {
newUrl = newUrl.replace("/tweets/", "").replace("/tweets", "");
}
return newUrl;
} else {
return url;