aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)