This commit is contained in:
syuilo
2017-12-22 07:43:56 +09:00
parent 8b515b4dae
commit f93bc3a8ec
2 changed files with 12 additions and 4 deletions

View File

@@ -39,7 +39,7 @@ export default (
deleted_at: { $exists: false }
});
const mutedUserIds = mute.map(m => m.mutee_id.toString());
if (mutedUserIds.indexOf(notifier.toHexString()) != -1) {
if (mutedUserIds.indexOf(notifier.toString()) != -1) {
return;
}
//#endregion