mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-05-03 23:06:20 +02:00
@@ -16,7 +16,7 @@ export async function createNotification(
|
||||
|
||||
const profile = await UserProfiles.findOne({ userId: notifieeId });
|
||||
|
||||
const isMuted = !(profile?.includingNotificationTypes == null || profile?.includingNotificationTypes.includes(type));
|
||||
const isMuted = profile?.mutingNotificationTypes.includes(type);
|
||||
|
||||
// Create notification
|
||||
const notification = await Notifications.save({
|
||||
|
||||
Reference in New Issue
Block a user