Boosts should be prioritized
This commit is contained in:
parent
8bfe67c031
commit
c713563a2e
|
@ -68,14 +68,6 @@ export function getWordSoftMute(
|
||||||
return noteMuted;
|
return noteMuted;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (note.reply) {
|
|
||||||
let replyMuted = checkWordMute(note.reply, mutedWords);
|
|
||||||
if (replyMuted.muted) {
|
|
||||||
replyMuted.what = "reply";
|
|
||||||
return replyMuted;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
if (note.renote) {
|
if (note.renote) {
|
||||||
let renoteMuted = checkWordMute(note.renote, mutedWords);
|
let renoteMuted = checkWordMute(note.renote, mutedWords);
|
||||||
if (renoteMuted.muted) {
|
if (renoteMuted.muted) {
|
||||||
|
@ -83,6 +75,14 @@ export function getWordSoftMute(
|
||||||
return renoteMuted;
|
return renoteMuted;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (note.reply) {
|
||||||
|
let replyMuted = checkWordMute(note.reply, mutedWords);
|
||||||
|
if (replyMuted.muted) {
|
||||||
|
replyMuted.what = "reply";
|
||||||
|
return replyMuted;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return NotMuted;
|
return NotMuted;
|
||||||
|
|
Loading…
Reference in New Issue