Node.js based forum software built for the modern web
fix: add back reverse lookup for notes assertion checking via cids
Julian Lam407dda78e19b
diff --git a/src/activitypub/inbox.js b/src/activitypub/inbox.jsindex 78656ef053..0da51bd37e 100644--- a/src/activitypub/inbox.js+++ b/src/activitypub/inbox.js@@ -283,6 +283,7 @@ inbox.accept = async (req) => {await Promise.all([db.sortedSetRemove(`followRequests:cid.${id}`, actor),db.sortedSetAdd(`cid:${id}:following`, now, actor),+ db.sortedSetAdd(`followersRemote:${actor}`, now, `cid|${id}`), // for notes assertion checking]);}}