feat: add id to profile updates

This commit is contained in:
Opliko
2024-04-12 16:43:33 +02:00
parent 18ba2e38ec
commit 4d07ca4c6a

View File

@@ -144,6 +144,7 @@ activitypubApi.update.profile = enabledCheck(async (caller, { uid }) => {
]); ]);
await activitypub.send('uid', caller.uid, followers, { await activitypub.send('uid', caller.uid, followers, {
id: `${object.id}#activity/update/${Date.now()}`,
type: 'Update', type: 'Update',
to: [activitypub._constants.publicAddress], to: [activitypub._constants.publicAddress],
cc: [], cc: [],