federation: add context property to notes

This commit is contained in:
Johann150 2022-08-02 17:04:44 +02:00
parent 457bd5ee3f
commit 46629a9884
Signed by untrusted user: Johann150
GPG key ID: 9EE6577A2A06F8F1

View file

@ -131,6 +131,7 @@ export default async function renderNote(note: Note, dive = true, isTalk = false
return {
id: `${config.url}/notes/${note.id}`,
context: `${config.url}/notes/${note.threadId}`,
type: 'Note',
attributedTo,
summary,