[bugfix] Fix wrong notification type sent for poll end (#2429)

This commit is contained in:
tobi 2023-12-08 23:33:42 +01:00 committed by GitHub
parent 4779aecdec
commit c6d6fec17d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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,