File tree 3 files changed +11
-5
lines changed
3 files changed +11
-5
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " misskey" ,
3
- "version" : " 2024.5.0-host.4b " ,
3
+ "version" : " 2024.5.0-host.4c " ,
4
4
"codename" : " nasubi" ,
5
5
"repository" : {
6
6
"type" : " git" ,
Original file line number Diff line number Diff line change @@ -36,8 +36,10 @@ export async function getNoteClipMenu(props: {
36
36
37
37
const isRenote = (
38
38
props . note . renote != null &&
39
+ props . note . reply == null &&
39
40
props . note . text == null &&
40
- props . note . fileIds . length === 0 &&
41
+ props . note . cw == null &&
42
+ props . note . fileIds && props . note . fileIds . length === 0 &&
41
43
props . note . poll == null
42
44
) ;
43
45
@@ -164,8 +166,10 @@ export function getNoteMenu(props: {
164
166
} ) {
165
167
const isRenote = (
166
168
props . note . renote != null &&
169
+ props . note . reply == null &&
167
170
props . note . text == null &&
168
- props . note . fileIds . length === 0 &&
171
+ props . note . cw == null &&
172
+ props . note . fileIds && props . note . fileIds . length === 0 &&
169
173
props . note . poll == null
170
174
) ;
171
175
@@ -509,8 +513,10 @@ export function getRenoteMenu(props: {
509
513
} ) {
510
514
const isRenote = (
511
515
props . note . renote != null &&
516
+ props . note . reply == null &&
512
517
props . note . text == null &&
513
- props . note . fileIds . length === 0 &&
518
+ props . note . cw == null &&
519
+ props . note . fileIds && props . note . fileIds . length === 0 &&
514
520
props . note . poll == null
515
521
) ;
516
522
Original file line number Diff line number Diff line change 1
1
{
2
2
"type" : " module" ,
3
3
"name" : " misskey-js" ,
4
- "version" : " 2024.5.0-host.4b " ,
4
+ "version" : " 2024.5.0-host.4c " ,
5
5
"description" : " Misskey SDK for JavaScript" ,
6
6
"types" : " ./built/dts/index.d.ts" ,
7
7
"exports" : {
You can’t perform that action at this time.
0 commit comments