Boosts should be prioritized

This commit is contained in:
naskya 2023-05-05 08:17:45 +09:00
parent 4124f00a34
commit 456e7c33e0

View file

@ -68,14 +68,6 @@ export function getWordSoftMute(
return noteMuted;
}
if (note.reply) {
let replyMuted = checkWordMute(note.reply, mutedWords);
if (replyMuted.muted) {
replyMuted.what = "reply";
return replyMuted;
}
}
if (note.renote) {
let renoteMuted = checkWordMute(note.renote, mutedWords);
if (renoteMuted.muted) {
@ -83,6 +75,14 @@ export function getWordSoftMute(
return renoteMuted;
}
}
if (note.reply) {
let replyMuted = checkWordMute(note.reply, mutedWords);
if (replyMuted.muted) {
replyMuted.what = "reply";
return replyMuted;
}
}
}
return NotMuted;