From c6d6fec17d44b56868454712d476984a8861f3e9 Mon Sep 17 00:00:00 2001 From: tobi <31960611+tsmethurst@users.noreply.github.com> Date: Fri, 8 Dec 2023 23:33:42 +0100 Subject: [PATCH] [bugfix] Fix wrong notification type sent for poll end (#2429) --- internal/processing/workers/surfacenotify.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/processing/workers/surfacenotify.go b/internal/processing/workers/surfacenotify.go index 2dc60023c..39798f45e 100644 --- a/internal/processing/workers/surfacenotify.go +++ b/internal/processing/workers/surfacenotify.go @@ -320,7 +320,7 @@ func (s *surface) notifyPollClose(ctx context.Context, status *gtsmodel.Status) // notify voter that // poll has been closed. if err := s.notify(ctx, - gtsmodel.NotificationMention, + gtsmodel.NotificationPoll, vote.Account, status.Account, status.ID,