Fix: mention (あなた宛て) streaming にミュートが効かない (#4823)

This commit is contained in:
MeiMei 2019-04-30 15:53:13 +09:00 committed by syuilo
parent 2900d22cdc
commit e6cdf1b995

View file

@ -22,6 +22,7 @@ export default class extends Channel {
break; break;
} }
case 'mention': { case 'mention': {
if (mute.map(m => m.muteeId).includes(body.userId)) return;
if (body.isHidden) return; if (body.isHidden) return;
break; break;
} }