diff --git a/packages/backend/src/remote/activitypub/models/note.ts b/packages/backend/src/remote/activitypub/models/note.ts index e630eb715..e12d99b63 100644 --- a/packages/backend/src/remote/activitypub/models/note.ts +++ b/packages/backend/src/remote/activitypub/models/note.ts @@ -243,8 +243,8 @@ export async function createNote(value: string | IObject, resolver: Resolver, si if (isTalk) { for (const recipient of visibleUsers) { await createMessage(actor, recipient, undefined, text || undefined, (files && files.length > 0) ? files[0] : null, object.id); - return null; } + return null; } else { return await post(actor, { createdAt: note.published ? new Date(note.published) : null,