From 0230f819e22a5b6d1c4c5060f41949ad87fe5040 Mon Sep 17 00:00:00 2001 From: Johann150 Date: Wed, 4 Jan 2023 19:07:40 +0100 Subject: [PATCH] fixup: wrong negation This is a fixup for commit 417d252e9d701f95e809ebd21a33b701bc239c0b. --- packages/backend/src/remote/activitypub/renderer/note.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/backend/src/remote/activitypub/renderer/note.ts b/packages/backend/src/remote/activitypub/renderer/note.ts index c097d2640..62dc9ebc4 100644 --- a/packages/backend/src/remote/activitypub/renderer/note.ts +++ b/packages/backend/src/remote/activitypub/renderer/note.ts @@ -27,7 +27,7 @@ export default async function renderNote(note: Note, dive = true, isTalk = false if (inReplyToNote != null) { const inReplyToUserExists = await Users.countBy({ id: inReplyToNote.userId }); - if (!inReplyToUserExists) { + if (inReplyToUserExists) { if (inReplyToNote.uri) { inReplyTo = inReplyToNote.uri; } else {