aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarty hiatt <martianhiatus [a t] riseup [d o t] net>2023-10-02 15:04:43 +0200
committermarty hiatt <martianhiatus [a t] riseup [d o t] net>2023-10-02 15:04:43 +0200
commita440c4c13460df0188b1863d86bcaeeca8d5f0b2 (patch)
tree82bfb00e32f8e5df62d3652874386dd798ce3113
parent016a3a2b331a0cc9ee916e401b1eb3a196006c06 (diff)
add misskey notes regex to masto-url-p
-rw-r--r--lisp/mastodon.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/mastodon.el b/lisp/mastodon.el
index 0dc6853..2a817ff 100644
--- a/lisp/mastodon.el
+++ b/lisp/mastodon.el
@@ -394,7 +394,8 @@ not, just browse the URL in the normal fashion."
(string-match "^/u/[[:alpha:]]+$" query)
(string-match "^/c/[[:alnum:]]+$" query)
(string-match "^/post/[[:digit:]]+$" query)
- (string-match "^/comment/[[:digit:]]+$" query))))) ; lemmy
+ (string-match "^/comment/[[:digit:]]+$" query) ; lemmy
+ (string-match "^/notes/[[:alnum:]]+$" query))))) ; misskey post
(defun mastodon-live-buffers ()
"Return a list of open mastodon buffers.