From d615b53f1f538f2ad957f7164baa66da8db744b1 Mon Sep 17 00:00:00 2001 From: Nathan Byrd Date: Fri, 6 Jan 2023 13:49:45 -0600 Subject: [PATCH] Small fixes to activitypub json output --- core/servers/content/web_handlers/activitypub.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/core/servers/content/web_handlers/activitypub.js b/core/servers/content/web_handlers/activitypub.js index de5de096..126f4421 100644 --- a/core/servers/content/web_handlers/activitypub.js +++ b/core/servers/content/web_handlers/activitypub.js @@ -94,10 +94,10 @@ exports.getModule = class ActivityPubWebHandler extends WebHandlerModule { endpoints: { sharedInbox: 'TODO', }, - inbox: makeUserUrl(this.webServer, user, '/ap/users') + '/outbox', - outbox: makeUserUrl(this.webServer, user, '/ap/users') + '/inbox', - followers: makeUserUrl(this.webServer, user, '/ap/users') + '/followers', - following: makeUserUrl(this.webServer, user, '/ap/users') + '/following', + inbox: makeUserUrl(this.webServer, user, '/ap/users/') + '/inbox', + outbox: makeUserUrl(this.webServer, user, '/ap/users/') + '/outbox', + followers: makeUserUrl(this.webServer, user, '/ap/users/') + '/followers', + following: makeUserUrl(this.webServer, user, '/ap/users/') + '/following', summary: user.getProperty(UserProps.AutoSignature) || '', url: webFingerProfileUrl(this.webServer, user),