From 2310d1cd9befd94d0105b099cfb86d480c179b1e Mon Sep 17 00:00:00 2001 From: Henry Jameson Date: Wed, 12 Aug 2026 14:48:39 +0300 Subject: [PATCH 1/2] fix followers list --- src/api/public.js | 17 ++++++++++++++--- src/api/user.js | 1 - 2 files changed, 14 insertions(+), 4 deletions(-) diff --git a/src/api/public.js b/src/api/public.js index 78db90bfe..5684298e4 100644 --- a/src/api/public.js +++ b/src/api/public.js @@ -117,9 +117,17 @@ export const fetchUserByName = ({ name, credentials }) => export const fetchFriends = ({ id, maxId, sinceId, limit = 20, credentials }) => promisedRequest({ - url: MASTODON_FOLLOWING_URL(id, { maxId, sinceId, limit }), + url: MASTODON_FOLLOWING_URL(id, { + maxId, + sinceId, + limit, + withRelationships: true, + }), credentials, - }).then(({ data, ...rest }) => ({ ...rest, data: data.map(parseUser) })) + }).then(({ data, ...rest }) => ({ + ...rest, + data: data.map(parseUser), + })) export const fetchFollowers = ({ id, @@ -136,7 +144,10 @@ export const fetchFollowers = ({ withRelationships: true, }), credentials, - }).then(({ data, ...rest }) => ({ ...rest, data: data.map(parseUser) })) + }).then(({ data, ...rest }) => ({ + ...rest, + data: data.map(parseUser), + })) export const fetchConversation = ({ id, credentials }) => promisedRequest({ diff --git a/src/api/user.js b/src/api/user.js index 8086d6d7f..ce9da977d 100644 --- a/src/api/user.js +++ b/src/api/user.js @@ -410,7 +410,6 @@ export const exportFriends = ({ id, credentials }) => { id, maxId, credentials, - withRelationships: true, }) friends = [...friends, ...users] if (users.length === 0) { From dac8845254543b85d9745cb2455838c417e8d548 Mon Sep 17 00:00:00 2001 From: Henry Jameson Date: Wed, 12 Aug 2026 14:49:29 +0300 Subject: [PATCH 2/2] changelog --- changelog.d/followers-list.fix | 1 + 1 file changed, 1 insertion(+) create mode 100644 changelog.d/followers-list.fix diff --git a/changelog.d/followers-list.fix b/changelog.d/followers-list.fix new file mode 100644 index 000000000..51e96f90c --- /dev/null +++ b/changelog.d/followers-list.fix @@ -0,0 +1 @@ +Fix followers list showing followed users as non-followed