Fix issue #24
This commit is contained in:
parent
c4fb4f8276
commit
d317f036d1
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue