feat: handle Announce(Note) when Note is a piece of remote content

This commit is contained in:
Julian Lam
2024-02-07 00:14:29 -05:00
parent 9795abbf58
commit 94dcd29e63
2 changed files with 28 additions and 34 deletions

View File

@@ -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);