mirror of
1
Fork 0

[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
1 changed files with 1 additions and 1 deletions

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,