summaryrefslogtreecommitdiff
path: root/internal/processing/workers
diff options
context:
space:
mode:
authorLibravatar tobi <31960611+tsmethurst@users.noreply.github.com>2023-12-08 23:33:42 +0100
committerLibravatar GitHub <noreply@github.com>2023-12-08 23:33:42 +0100
commitc6d6fec17d44b56868454712d476984a8861f3e9 (patch)
treeef90f4b11961d8510780537adc4d3144c94e76ad /internal/processing/workers
parent[chore] Run ANALYZE for SQLite after latest migrations (#2427) (diff)
downloadgotosocial-c6d6fec17d44b56868454712d476984a8861f3e9.tar.xz
[bugfix] Fix wrong notification type sent for poll end (#2429)
Diffstat (limited to 'internal/processing/workers')
-rw-r--r--internal/processing/workers/surfacenotify.go2
1 files changed, 1 insertions, 1 deletions
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,