branch: elpa/mastodon commit 32bc411efdf758ebc540656bff2300fa8ce6601d Author: marty hiatt <martianhia...@disroot.org> Commit: marty hiatt <martianhia...@disroot.org>
url-lookup: peertube post regex --- lisp/mastodon.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lisp/mastodon.el b/lisp/mastodon.el index 7e797fec4c..07d50e7a76 100644 --- a/lisp/mastodon.el +++ b/lisp/mastodon.el @@ -519,7 +519,9 @@ If FORCE, do a lookup regardless of the result of `mastodon--fedi-url-p'." (string-match "^/comment/[[:digit:]]+$" query) ; lemmy (string-match "^/@[^/]+/statuses/[[:alnum:]]" query) ; GTS (string-match "^/user[s]?/[[:alnum:]_]+/statuses/[[:digit:]]+$" query) ; hometown - (string-match "^/notes/[[:alnum:]]+$" query))))) ; misskey post + (string-match "^/notes/[[:alnum:]]+$" query) ; misskey post + (string-match "^/w/[[:alnum:]_]+$" query) ; peertube post + )))) (defun mastodon-live-buffers () "Return a list of open mastodon buffers.