mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2024-11-22 11:46:40 +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
|
// notify voter that
|
||||||
// poll has been closed.
|
// poll has been closed.
|
||||||
if err := s.notify(ctx,
|
if err := s.notify(ctx,
|
||||||
gtsmodel.NotificationMention,
|
gtsmodel.NotificationPoll,
|
||||||
vote.Account,
|
vote.Account,
|
||||||
status.Account,
|
status.Account,
|
||||||
status.ID,
|
status.ID,
|
||||||
|
|
Loading…
Reference in a new issue