Node.js based forum software built for the modern web
fix: the id of an actor should be its immutable uri (/uid/:uid) and not userslug
Julian Lame07c31316e44
diff --git a/src/activitypub/mocks.js b/src/activitypub/mocks.jsindex 0aa93f045b..bd72713186 100644--- a/src/activitypub/mocks.js+++ b/src/activitypub/mocks.js@@ -145,7 +145,7 @@ Mocks.actor = async (uid) => {'https://www.w3.org/ns/activitystreams','https://w3id.org/security/v1',],- id: `${nconf.get('url')}/user/${userslug}`,+ id: `${nconf.get('url')}/uid/${uid}`,url: `${nconf.get('url')}/user/${userslug}`,followers: `${nconf.get('url')}/user/${userslug}/followers`,following: `${nconf.get('url')}/user/${userslug}/following`,