Send actor in CreateNote, Announce
This commit is contained in:
parent
b3a3238e43
commit
ffcb2f755c
3 changed files with 14 additions and 5 deletions
|
@ -240,7 +240,7 @@ export default async (user: IUser, data: Option, silent = false) => new Promise<
|
|||
async function renderActivity(data: Option, note: INote) {
|
||||
const content = data.renote && data.text == null
|
||||
? renderAnnounce(data.renote.uri ? data.renote.uri : `${config.url}/notes/${data.renote._id}`, note)
|
||||
: renderCreate(await renderNote(note, false));
|
||||
: renderCreate(await renderNote(note, false), note);
|
||||
|
||||
return packAp(content);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue