This commit is contained in:
syuilo 2018-04-06 22:00:37 +09:00
parent f640a8fd5b
commit bc06c66407

View File

@ -40,6 +40,7 @@ export default async function createNote(resolver: Resolver, actor: IRemoteUser,
const inReplyTo = await resolver.resolve(note.inReplyTo) as any; const inReplyTo = await resolver.resolve(note.inReplyTo) as any;
const actor = await resolvePerson(inReplyTo.attributedTo); const actor = await resolvePerson(inReplyTo.attributedTo);
if (isRemoteUser(actor)) { if (isRemoteUser(actor)) {
// TODO: silentを常にtrueにしてはならない
reply = await createNote(resolver, actor, inReplyTo); reply = await createNote(resolver, actor, inReplyTo);
} }
} }