fixup: wrong negation
All checks were successful
ci/woodpecker/push/lint-backend Pipeline was successful
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/push/lint-client Pipeline was successful
ci/woodpecker/push/lint-foundkey-js Pipeline was successful
ci/woodpecker/push/lint-sw Pipeline was successful
ci/woodpecker/push/test Pipeline was successful

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