Skip to content

Commit

Permalink
[bugfix] Fix wrong notification type sent for poll end (#2429)
Browse files Browse the repository at this point in the history
  • Loading branch information
tsmethurst committed Dec 8, 2023
1 parent 4779aec commit c6d6fec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/processing/workers/surfacenotify.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit c6d6fec

Please sign in to comment.