mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 16:46:12 +01:00
fix: add back reverse lookup for notes assertion checking via cids
This commit is contained in:
@@ -283,6 +283,7 @@ inbox.accept = async (req) => {
|
|||||||
await Promise.all([
|
await Promise.all([
|
||||||
db.sortedSetRemove(`followRequests:cid.${id}`, actor),
|
db.sortedSetRemove(`followRequests:cid.${id}`, actor),
|
||||||
db.sortedSetAdd(`cid:${id}:following`, now, actor),
|
db.sortedSetAdd(`cid:${id}:following`, now, actor),
|
||||||
|
db.sortedSetAdd(`followersRemote:${actor}`, now, `cid|${id}`), // for notes assertion checking
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user