Add published field on "Note"s send to other servers
This commit is contained in:
parent
1e698ae289
commit
058826feaa
|
@ -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 ],
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue