count "isSilenced" as a mute condition
This commit is contained in:
parent
16dedf7219
commit
0a97e442b2
1 changed files with 1 additions and 1 deletions
|
|
@ -125,7 +125,7 @@ function getMutes(note: Misskey.entities.Note, withHardMute: boolean, overrides:
|
|||
? note.user.instance.mandatoryCW
|
||||
: null;
|
||||
|
||||
const hasMute = hardMuted || softMutedWords.length > 0 || sensitiveMuted || threadMuted || noteMuted || !!noteMandatoryCW || !!userMandatoryCW || !!instanceMandatoryCW;
|
||||
const hasMute = hardMuted || softMutedWords.length > 0 || sensitiveMuted || isSilenced || threadMuted || noteMuted || !!noteMandatoryCW || !!userMandatoryCW || !!instanceMandatoryCW;
|
||||
|
||||
return { hasMute, hardMuted, softMutedWords, sensitiveMuted, isSilenced, threadMuted, noteMuted, noteMandatoryCW, userMandatoryCW, instanceMandatoryCW };
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue