mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-05-01 08:05:39 +02:00
Fix bug
This commit is contained in:
@@ -14,12 +14,12 @@ export default class extends Channel {
|
||||
|
||||
switch (type) {
|
||||
case 'notification': {
|
||||
if (!mutedUserIds.includes(body.userId)) {
|
||||
this.send('notification', body);
|
||||
}
|
||||
if (mutedUserIds.includes(body.userId)) return;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
this.send(type, body);
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user