diff options
author | marty hiatt <martianhiatus [a t] riseup [d o t] net> | 2023-03-18 18:56:55 +0100 |
---|---|---|
committer | marty hiatt <martianhiatus [a t] riseup [d o t] net> | 2023-03-19 13:21:37 +0100 |
commit | 2747faee5cd06b7a660f8a907969e19d2eb633b1 (patch) | |
tree | 596a6b23794abc0287a45b2d73902428b1ac6455 | |
parent | 4a1670f278b755691bc37c64eeee35b9b02a3085 (diff) |
edit masto-url-p to handle bookwrym users
-rw-r--r-- | lisp/mastodon.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/mastodon.el b/lisp/mastodon.el index 8c3cbd2..e774ec1 100644 --- a/lisp/mastodon.el +++ b/lisp/mastodon.el @@ -344,7 +344,7 @@ not, just browse the URL in the normal fashion." (save-match-data (or (string-match "^/@[^/]+$" query) (string-match "^/@[^/]+/[[:digit:]]+$" query) - (string-match "^/users/[[:alnum:]]+$" query) + (string-match "^/user[s]?/[[:alnum:]]+$" query) (string-match "^/notice/[[:alnum:]]+$" query) (string-match "^/objects/[-a-f0-9]+$" query) (string-match "^/notes/[a-z0-9]+$" query) |