From f8cfe64c7e5243ac394695293d7517b0b509a4b3 Mon Sep 17 00:00:00 2001 From: Julian Lam Date: Tue, 23 Jan 2024 10:31:52 -0500 Subject: [PATCH] fix: send preferredUsername in application actor response --- src/controllers/activitypub/actors.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/controllers/activitypub/actors.js b/src/controllers/activitypub/actors.js index 342b59c367..fecb7941a4 100644 --- a/src/controllers/activitypub/actors.js +++ b/src/controllers/activitypub/actors.js @@ -24,6 +24,7 @@ Actors.application = async function (req, res) { type: 'Application', name, + preferredUsername: name, publicKey: { id: `${nconf.get('url')}#key`,