[backend/core] Send poll ended notification to poll creator even if they didn't vote in the poll
This commit is contained in:
parent
8e20916c9a
commit
066cb7dc19
1 changed files with 1 additions and 0 deletions
|
@ -219,6 +219,7 @@ public class NotificationService(
|
||||||
.Where(p => p.Note == note)
|
.Where(p => p.Note == note)
|
||||||
.Where(p => p.User.Host == null)
|
.Where(p => p.User.Host == null)
|
||||||
.Select(p => p.User)
|
.Select(p => p.User)
|
||||||
|
.Concat(db.Users.Where(p => p == note.User))
|
||||||
.Distinct()
|
.Distinct()
|
||||||
.Select(p => new Notification
|
.Select(p => new Notification
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue