diff --git a/Iceshrimp.Backend/Controllers/Mastodon/NotificationController.cs b/Iceshrimp.Backend/Controllers/Mastodon/NotificationController.cs index 84f9e04d..5efd8a6c 100644 --- a/Iceshrimp.Backend/Controllers/Mastodon/NotificationController.cs +++ b/Iceshrimp.Backend/Controllers/Mastodon/NotificationController.cs @@ -36,6 +36,7 @@ public class NotificationController(DatabaseContext db, NotificationRenderer not var res = await db.Notifications .IncludeCommonProperties() .Where(p => p.Notifiee == user) + .Where(p => p.Notifier != null) .Where(p => p.Type == NotificationType.Follow || p.Type == NotificationType.Mention || p.Type == NotificationType.Reply ||