aboutsummaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authormarty hiatt <martianhiatus [a t] riseup [d o t] net>2023-10-12 16:19:24 +0200
committermarty hiatt <martianhiatus [a t] riseup [d o t] net>2023-10-12 16:19:24 +0200
commit15c6a842c3e65203eda2d768b6bb828a4235919f (patch)
treef783b2a79d03c5043cf1af82a49e6015548f5e7a /lisp
parent1b888da2805aa964cf2a416e40186e75f2766b38 (diff)
url-p: optional @ prefix for "users" url
Diffstat (limited to 'lisp')
-rw-r--r--lisp/mastodon.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/mastodon.el b/lisp/mastodon.el
index a37e0b2..04d2fe8 100644
--- a/lisp/mastodon.el
+++ b/lisp/mastodon.el
@@ -383,7 +383,7 @@ not, just browse the URL in the normal fashion."
(save-match-data
(or (string-match "^/@[^/]+$" query)
(string-match "^/@[^/]+/[[:digit:]]+$" query)
- (string-match "^/user[s]?/[[:alnum:]]+$" query)
+ (string-match "^/user[s]?/@?[[:alnum:]]+$" query) ; @: pleroma or soapbox
(string-match "^/notice/[[:alnum:]]+$" query)
(string-match "^/objects/[-a-f0-9]+$" query)
(string-match "^/notes/[a-z0-9]+$" query)