mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 08:36:12 +01:00
feat: add id to profile updates
This commit is contained in:
@@ -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: [],
|
||||||
|
|||||||
Reference in New Issue
Block a user