Skip to content

Node.js based forum software built for the modern web

fix: send preferredUsername in application actor response

Julian Lamf8cfe64c7e52
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`,