diff --git a/src/utils/isMastodonLinkMaybe.jsx b/src/utils/isMastodonLinkMaybe.jsx index d6fa8eda..ea63202b 100644 --- a/src/utils/isMastodonLinkMaybe.jsx +++ b/src/utils/isMastodonLinkMaybe.jsx @@ -1,3 +1,6 @@ export default function isMastodonLinkMaybe(url) { - return /^https:\/\/.*\/\d+$/i.test(url); + return ( + /^https:\/\/.*\/\d+$/i.test(url) || + /^https:\/\/.*\/notes\/[a-z0-9]+$/i.test(url) // Misskey, Calckey + ); }