mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-02 12:05:57 +01:00
feat: handle Announce(Note) when Note is a piece of remote content
This commit is contained in:
@@ -237,15 +237,3 @@ ActivityPub.send = async (type, id, targets, payload) => {
|
||||
}
|
||||
}));
|
||||
};
|
||||
|
||||
setTimeout(async () => {
|
||||
await ActivityPub.send('uid', 1, 'https://localhost/uid/1', {
|
||||
// type: 'Undo',
|
||||
// object: {
|
||||
type: 'Announce',
|
||||
actor: `https://localhost/uid/1`,
|
||||
object: 'https://localhost/post/1',
|
||||
published: new Date().toISOString(),
|
||||
// },
|
||||
});
|
||||
}, 2000);
|
||||
|
||||
Reference in New Issue
Block a user