aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarty hiatt <martianhiatus [a t] riseup [d o t] net>2023-07-06 16:59:12 +0200
committermarty hiatt <martianhiatus [a t] riseup [d o t] net>2023-07-06 16:59:12 +0200
commitad00253d714a128e95faa9baebfb5322c3fcc378 (patch)
tree3db603fd8970f5f122461c715e4300b90455db08
parent150f4c34b85724a0dc389ce8a1e3bea52ddf1f39 (diff)
add lemmy comment url form 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 8eac782..53986cf 100644
--- a/lisp/mastodon.el
+++ b/lisp/mastodon.el
@@ -370,7 +370,8 @@ not, just browse the URL in the normal fashion."
(string-match "^/[[:alpha:]]+$" query)
(string-match "^/u/[[:alpha:]]+$" query)
(string-match "^/c/[[:alnum:]]+$" query)
- (string-match "^/post/[[:digit:]]+$" query)))))
+ (string-match "^/post/[[:digit:]]+$" query)
+ (string-match "^/comment/[[:digit:]]+$" query))))) ; lemmy
(defun mastodon-live-buffers ()
"Return a list of open mastodon buffers.