diff --git a/package.json b/package.json index ed761adee..5432c9ec0 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "misskey", - "version": "2024.5.0-host.4b", + "version": "2024.5.0-host.4c", "codename": "nasubi", "repository": { "type": "git", diff --git a/packages/frontend/src/scripts/get-note-menu.ts b/packages/frontend/src/scripts/get-note-menu.ts index e7c9a848e..92e421cda 100644 --- a/packages/frontend/src/scripts/get-note-menu.ts +++ b/packages/frontend/src/scripts/get-note-menu.ts @@ -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 ); @@ -164,8 +166,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 ); @@ -509,8 +513,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 ); diff --git a/packages/misskey-js/package.json b/packages/misskey-js/package.json index 7ddbf7bd5..fe80357b7 100644 --- a/packages/misskey-js/package.json +++ b/packages/misskey-js/package.json @@ -1,7 +1,7 @@ { "type": "module", "name": "misskey-js", - "version": "2024.5.0-host.4b", + "version": "2024.5.0-host.4c", "description": "Misskey SDK for JavaScript", "types": "./built/dts/index.d.ts", "exports": {