Node.js based forum software built for the modern web
feat: add ids for undoing follows
Opliko3cc09d204f9b
diff --git a/src/api/activitypub.js b/src/api/activitypub.jsindex a36f40a337..383fb374a2 100644--- a/src/api/activitypub.js+++ b/src/api/activitypub.js@@ -54,8 +54,10 @@ activitypubApi.unfollow = enabledCheck(async (caller, { uid }) => {}await activitypub.send('uid', caller.uid, [result.actorUri], {+ id: `${nconf.get('url')}/uid/${caller.uid}#activity/undo:follow/${result.username}@${result.hostname}`,type: 'Undo',object: {+ id: `${nconf.get('url')}/uid/${caller.uid}#activity/follow/${result.username}@${result.hostname}`,type: 'Follow',actor: `${nconf.get('url')}/uid/${caller.uid}`,object: result.actorUri,