fixup: wrong negation

This is a fixup for commit 417d252e9d.
This commit is contained in:
Johann150 2023-01-04 19:07:40 +01:00
parent e58c940d6f
commit 0230f819e2
Signed by untrusted user: Johann150
GPG key ID: 9EE6577A2A06F8F1

View file

@ -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 {