Skip to content

Commit 28cb462

Browse files
authored
Merge pull request #809 from update-host
Update host
2 parents 00013e0 + 58041a8 commit 28cb462

File tree

3 files changed

+11
-5
lines changed

3 files changed

+11
-5
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "misskey",
3-
"version": "2024.5.0-host.4b",
3+
"version": "2024.5.0-host.4c",
44
"codename": "nasubi",
55
"repository": {
66
"type": "git",

packages/frontend/src/scripts/get-note-menu.ts

+9-3
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,10 @@ export async function getNoteClipMenu(props: {
3636

3737
const isRenote = (
3838
props.note.renote != null &&
39+
props.note.reply == null &&
3940
props.note.text == null &&
40-
props.note.fileIds.length === 0 &&
41+
props.note.cw == null &&
42+
props.note.fileIds && props.note.fileIds.length === 0 &&
4143
props.note.poll == null
4244
);
4345

@@ -164,8 +166,10 @@ export function getNoteMenu(props: {
164166
}) {
165167
const isRenote = (
166168
props.note.renote != null &&
169+
props.note.reply == null &&
167170
props.note.text == null &&
168-
props.note.fileIds.length === 0 &&
171+
props.note.cw == null &&
172+
props.note.fileIds && props.note.fileIds.length === 0 &&
169173
props.note.poll == null
170174
);
171175

@@ -509,8 +513,10 @@ export function getRenoteMenu(props: {
509513
}) {
510514
const isRenote = (
511515
props.note.renote != null &&
516+
props.note.reply == null &&
512517
props.note.text == null &&
513-
props.note.fileIds.length === 0 &&
518+
props.note.cw == null &&
519+
props.note.fileIds && props.note.fileIds.length === 0 &&
514520
props.note.poll == null
515521
);
516522

packages/misskey-js/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"type": "module",
33
"name": "misskey-js",
4-
"version": "2024.5.0-host.4b",
4+
"version": "2024.5.0-host.4c",
55
"description": "Misskey SDK for JavaScript",
66
"types": "./built/dts/index.d.ts",
77
"exports": {

0 commit comments

Comments
 (0)