From 066cb7dc1977b1996b32b6d14bb79c3ff2c8f303 Mon Sep 17 00:00:00 2001 From: Laura Hausmann Date: Thu, 6 Jun 2024 21:13:49 +0200 Subject: [PATCH] [backend/core] Send poll ended notification to poll creator even if they didn't vote in the poll --- Iceshrimp.Backend/Core/Services/NotificationService.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Iceshrimp.Backend/Core/Services/NotificationService.cs b/Iceshrimp.Backend/Core/Services/NotificationService.cs index 7589018d..21ee0349 100644 --- a/Iceshrimp.Backend/Core/Services/NotificationService.cs +++ b/Iceshrimp.Backend/Core/Services/NotificationService.cs @@ -219,6 +219,7 @@ public class NotificationService( .Where(p => p.Note == note) .Where(p => p.User.Host == null) .Select(p => p.User) + .Concat(db.Users.Where(p => p == note.User)) .Distinct() .Select(p => new Notification {