From 50646f0f2bfc2e252902a73fde67b622cf34060b Mon Sep 17 00:00:00 2001 From: Ben Ramsey Date: Wed, 17 Apr 2024 10:14:49 -0500 Subject: [PATCH] Update Mastodon profile URL (#10082) Fixes #10078 --- services/mastodon/mastodon-follow.service.js | 2 +- services/mastodon/mastodon-follow.tester.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/services/mastodon/mastodon-follow.service.js b/services/mastodon/mastodon-follow.service.js index 8a362a15ca6a7..1507b22009561 100644 --- a/services/mastodon/mastodon-follow.service.js +++ b/services/mastodon/mastodon-follow.service.js @@ -58,7 +58,7 @@ export default class MastodonFollow extends BaseJsonService { message: metric(followers), style: 'social', link: [ - `${domain}/users/${username}/remote_follow`, + `${domain}/users/${username}`, `${domain}/users/${username}/followers`, ], } diff --git a/services/mastodon/mastodon-follow.tester.js b/services/mastodon/mastodon-follow.tester.js index 1b792bad8c962..d55d3706d531e 100644 --- a/services/mastodon/mastodon-follow.tester.js +++ b/services/mastodon/mastodon-follow.tester.js @@ -8,7 +8,7 @@ t.create('Followers - default domain') label: 'follow @wilkie', message: isMetric, link: [ - 'https://mastodon.social/users/wilkie/remote_follow', + 'https://mastodon.social/users/wilkie', 'https://mastodon.social/users/wilkie/followers', ], }) @@ -33,7 +33,7 @@ t.create('Followers - alternate domain') label: 'follow @PhotonQyv', message: isMetric, link: [ - 'https://mastodon.xyz/users/PhotonQyv/remote_follow', + 'https://mastodon.xyz/users/PhotonQyv', 'https://mastodon.xyz/users/PhotonQyv/followers', ], })