Frontend: Fixed isRenote
ci/woodpecker/push/ociImagePush Pipeline was successful Details

This commit is contained in:
Natty 2023-11-07 16:28:48 +01:00
parent 2173ee452f
commit 3b8997d153
Signed by: natty
GPG Key ID: BF6CB659ADEE60EC
1 changed files with 2 additions and 2 deletions

View File

@ -128,9 +128,9 @@ export function magIsRenote(
): boolean { ): boolean {
return ( return (
magTransProperty(note, "renoted_note", "renote") != null && magTransProperty(note, "renoted_note", "renote") != null &&
note.text == null && (note.text || null) === null &&
magTransProperty(note, "file_ids", "fileIds").length === 0 && magTransProperty(note, "file_ids", "fileIds").length === 0 &&
note.poll == null (note.poll || null) === null
); );
} }