diff --git a/src/utils/isMastodonLinkMaybe.jsx b/src/utils/isMastodonLinkMaybe.jsx index bc3a31ef..7e029d2a 100644 --- a/src/utils/isMastodonLinkMaybe.jsx +++ b/src/utils/isMastodonLinkMaybe.jsx @@ -2,7 +2,7 @@ export default function isMastodonLinkMaybe(url) { const { pathname } = new URL(url); return ( /^\/.*\/\d+$/i.test(pathname) || - /^\/@[^/]+\/statuses\/\w+$/i.test(pathname) || // GoToSocial + /^\/@[^/]+\/(statuses|posts)\/\w+\/?$/i.test(pathname) || // GoToSocial, Takahe /^\/notes\/[a-z0-9]+$/i.test(pathname) || // Misskey, Calckey /^\/(notice|objects)\/[a-z0-9-]+$/i.test(pathname) // Pleroma );