From 058826feaaaccbbf79185e6b7058e64cfd9d0803 Mon Sep 17 00:00:00 2001 From: Niko Date: Sun, 6 Mar 2022 20:52:14 +0100 Subject: [PATCH] Add published field on "Note"s send to other servers --- api/src/api/me.js | 1 + 1 file changed, 1 insertion(+) diff --git a/api/src/api/me.js b/api/src/api/me.js index 54ab5df..d46aaff 100644 --- a/api/src/api/me.js +++ b/api/src/api/me.js @@ -138,6 +138,7 @@ async function sendNote(from, to, html, modc) { type: 'Note', content: html, attributedTo: actor.id, + published: new Date().toISOString(), to: [ to.url ], }, }