mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 08:36:12 +01:00
fix: missing sorted set member removal on category unfollow
This commit is contained in:
@@ -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}`),
|
||||
]);
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user