mirror of
https://github.com/superseriousbusiness/gotosocial
synced 2025-06-05 21:59:39 +02:00
[bugfix] Fix wrong notification type sent for poll end (#2429)
This commit is contained in:
@@ -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,
|
||||||
|
Reference in New Issue
Block a user