Add published field on "Note"s send to other servers

This commit is contained in:
Niko 2022-03-06 20:52:14 +01:00
parent 1e698ae289
commit 058826feaa
1 changed files with 1 additions and 0 deletions

View File

@ -138,6 +138,7 @@ async function sendNote(from, to, html, modc) {
type: 'Note', type: 'Note',
content: html, content: html,
attributedTo: actor.id, attributedTo: actor.id,
published: new Date().toISOString(),
to: [ to.url ], to: [ to.url ],
}, },
} }