1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-06-10 01:24:08 +02:00

Apply code review suggestions - use explicit null checks

Co-authored-by: kakkokari-gtyih <67428053+kakkokari-gtyih@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2025-11-09 15:03:53 +00:00
parent 4762dfd5c7
commit 50bbc71098
2 changed files with 2 additions and 2 deletions

View File

@@ -109,7 +109,7 @@ export class NotificationService implements OnApplicationShutdown {
const mutings = await this.cacheService.userMutingsCache.fetch(notifieeId);
const muting = mutings.get(notifierId);
if (muting && muting.mutingType === 'all') {
if (muting != null && muting.mutingType === 'all') {
return null;
}