Frontend: Fixed isRenote
ci/woodpecker/push/ociImagePush Pipeline was successful
Details
ci/woodpecker/push/ociImagePush Pipeline was successful
Details
This commit is contained in:
parent
2173ee452f
commit
3b8997d153
|
@ -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
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue