Set quoteUri in rendered ActivityPub objects
This commit is contained in:
parent
1d45bdbfdc
commit
94e4f1323f
|
@ -22,6 +22,7 @@ export const renderActivity = (x: any): IActivity | null => {
|
||||||
movedToUri: 'as:movedTo',
|
movedToUri: 'as:movedTo',
|
||||||
sensitive: 'as:sensitive',
|
sensitive: 'as:sensitive',
|
||||||
Hashtag: 'as:Hashtag',
|
Hashtag: 'as:Hashtag',
|
||||||
|
quoteUri: 'fedibird:quoteUri',
|
||||||
quoteUrl: 'as:quoteUrl',
|
quoteUrl: 'as:quoteUrl',
|
||||||
// Mastodon
|
// Mastodon
|
||||||
toot: 'http://joinmastodon.org/ns#',
|
toot: 'http://joinmastodon.org/ns#',
|
||||||
|
|
|
@ -142,6 +142,7 @@ export default async function renderNote(note: Note, dive = true, isTalk = false
|
||||||
mediaType: "text/x.misskeymarkdown",
|
mediaType: "text/x.misskeymarkdown",
|
||||||
},
|
},
|
||||||
_misskey_quote: quote,
|
_misskey_quote: quote,
|
||||||
|
quoteUri: quote,
|
||||||
quoteUrl: quote,
|
quoteUrl: quote,
|
||||||
published: note.createdAt.toISOString(),
|
published: note.createdAt.toISOString(),
|
||||||
to,
|
to,
|
||||||
|
|
Loading…
Reference in New Issue