mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2024-12-22 18:22:11 +00:00
[bugfix] Fix wrong notification type sent for poll end (#2429)
This commit is contained in:
parent
4779aecdec
commit
c6d6fec17d
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue