Skip to content

Commit

Permalink
Merge tag '2024.5.0-host.4c' into nijimiss
Browse files Browse the repository at this point in the history
u1-liquid committed Nov 8, 2024
2 parents ecd1b84 + 28cb462 commit 98016af
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions packages/frontend/src/scripts/get-note-menu.ts
Original file line number Diff line number Diff line change
@@ -36,8 +36,10 @@ export async function getNoteClipMenu(props: {

const isRenote = (
props.note.renote != null &&
props.note.reply == null &&
props.note.text == null &&
props.note.fileIds.length === 0 &&
props.note.cw == null &&
props.note.fileIds && props.note.fileIds.length === 0 &&
props.note.poll == null
);

@@ -174,8 +176,10 @@ export function getNoteMenu(props: {
}) {
const isRenote = (
props.note.renote != null &&
props.note.reply == null &&
props.note.text == null &&
props.note.fileIds.length === 0 &&
props.note.cw == null &&
props.note.fileIds && props.note.fileIds.length === 0 &&
props.note.poll == null
);

@@ -519,8 +523,10 @@ export function getRenoteMenu(props: {
}) {
const isRenote = (
props.note.renote != null &&
props.note.reply == null &&
props.note.text == null &&
props.note.fileIds.length === 0 &&
props.note.cw == null &&
props.note.fileIds && props.note.fileIds.length === 0 &&
props.note.poll == null
);

0 comments on commit 98016af

Please sign in to comment.