fix(backend): channels/timelineでミュートが効かない問題を修正

This commit is contained in:
syuilo 2023-10-10 19:07:59 +09:00
parent 57b794edfb
commit 66940d6cf1

View File

@ -111,7 +111,7 @@ export default class extends Endpoint<typeof meta, typeof paramDef> { // eslint-
let timeline = await query.getMany(); let timeline = await query.getMany();
timeline = timeline.filter(note => { timeline = timeline.filter(note => {
if (me && isUserRelated(note, userIdsWhoMeMuting, true)) return false; if (me && isUserRelated(note, userIdsWhoMeMuting)) return false;
return true; return true;
}); });