emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/mastodon 15c6a842c3 02/47: url-p: optional @ prefix for "u


From: ELPA Syncer
Subject: [nongnu] elpa/mastodon 15c6a842c3 02/47: url-p: optional @ prefix for "users" url
Date: Fri, 13 Oct 2023 19:00:54 -0400 (EDT)

branch: elpa/mastodon
commit 15c6a842c3e65203eda2d768b6bb828a4235919f
Author: marty hiatt <martianhiatus [a t] riseup [d o t] net>
Commit: marty hiatt <martianhiatus [a t] riseup [d o t] net>

    url-p: optional @ prefix for "users" url
---
 lisp/mastodon.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/mastodon.el b/lisp/mastodon.el
index a37e0b2ea5..04d2fe850f 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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]