fix type error in check-word-mute.ts
This commit is contained in:
@@ -42,7 +42,7 @@ export function checkWordMute(note: Misskey.entities.Note, me: Misskey.entities.
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
function getNoteText(note: Note): string {
|
function getNoteText(note: Misskey.entities.Note): string {
|
||||||
const textParts: string[] = [];
|
const textParts: string[] = [];
|
||||||
|
|
||||||
if (note.cw) textParts.push(note.cw);
|
if (note.cw) textParts.push(note.cw);
|
||||||
|
|||||||
Reference in New Issue
Block a user