Skip to content

Node.js based forum software built for the modern web

fix: missing sorted set member removal on category unfollow

Julian Lama748068c05ca
diff --git a/src/api/activitypub.js b/src/api/activitypub.js
index c3750b92d1..7c1c955916 100644
--- a/src/api/activitypub.js
+++ b/src/api/activitypub.js
@@ -84,6 +84,7 @@ activitypubApi.unfollow = enabledCheck(async (caller, { type, id, actor }) => {
await Promise.all([
db.sortedSetRemove(`cid:${id}:following`, actor),
db.sortedSetRemove(`followRequests:cid.${id}`, actor),
+ db.sortedSetRemove(`followersRemote:${actor}`, `cid|${id}`),
]);
}
});