Commit f361cc56 authored by Thomas's avatar Thomas
Browse files

Merge pull request 'Fixes #966 - Allow opening toots and profile from...

Merge pull request 'Fixes #966 - Allow opening toots and profile from server-remote accounts' (#969) from dureuill/Fedilab:dureuill-966 into main

Reviewed-on: https://codeberg.org/tom79/Fedilab/pulls/969
parents e7359473 b3458e28
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -965,7 +965,7 @@ public abstract class BaseMainActivity extends BaseActivity implements NetworkSt
            }
            //Here we know that the intent contains a valid URL
            if (!url.contains("medium.com")) {
                Pattern link = Pattern.compile("https?://([\\da-z.-]+[à-ü]?\\.[a-z.]{2,10})/(@[\\w._-]*[0-9]*)(/[0-9]+)?$");
                Pattern link = Pattern.compile("https?://([\\da-z.-]+[à-ü]?\\.[a-z.]{2,10})/(@[@\\w._-]*[0-9]*)(/[0-9]+)?$");
                Matcher matcherLink;
                matcherLink = link.matcher(url);
                if (matcherLink.find()) {