Skip to content

Node.js based forum software built for the modern web

feat: add id to profile updates

Opliko4d07ca4c6acb
diff --git a/src/api/activitypub.js b/src/api/activitypub.js
index 383fb374a2..6e92763c45 100644
--- a/src/api/activitypub.js
+++ b/src/api/activitypub.js
@@ -144,6 +144,7 @@ activitypubApi.update.profile = enabledCheck(async (caller, { uid }) => {
]);
await activitypub.send('uid', caller.uid, followers, {
+ id: `${object.id}#activity/update/${Date.now()}`,
type: 'Update',
to: [activitypub._constants.publicAddress],
cc: [],