Set quoteUri in rendered ActivityPub objects

This commit is contained in:
Effy Elden 2023-01-04 13:32:06 +11:00
parent 1d45bdbfdc
commit 94e4f1323f
No known key found for this signature in database
GPG Key ID: 532C5E50BF4F86EE
2 changed files with 2 additions and 0 deletions

View File

@ -22,6 +22,7 @@ export const renderActivity = (x: any): IActivity | null => {
movedToUri: 'as:movedTo',
sensitive: 'as:sensitive',
Hashtag: 'as:Hashtag',
quoteUri: 'fedibird:quoteUri',
quoteUrl: 'as:quoteUrl',
// Mastodon
toot: 'http://joinmastodon.org/ns#',

View File

@ -142,6 +142,7 @@ export default async function renderNote(note: Note, dive = true, isTalk = false
mediaType: "text/x.misskeymarkdown",
},
_misskey_quote: quote,
quoteUri: quote,
quoteUrl: quote,
published: note.createdAt.toISOString(),
to,