Remove poll type from notification exclude

This commit is contained in:
r 2021-12-13 14:31:20 +00:00
parent db29c3d874
commit 556a87e8e8
1 changed files with 0 additions and 5 deletions

View File

@ -422,11 +422,6 @@ func (s *service) NotificationPage(c *client, maxID string,
// For now, only Pleroma supports this option, Mastadon // For now, only Pleroma supports this option, Mastadon
// will simply ignore the unknown params. // will simply ignore the unknown params.
includes = []string{"follow", "follow_request", "mention", "reblog", "favourite"} includes = []string{"follow", "follow_request", "mention", "reblog", "favourite"}
// Explicitly exclude the unsupported types.
// Pleroma prioritizes includes over excludes, but we
// still specify excludes to make it work with Mastadon.
excludes = []string{"poll"}
} }
if c.s.Settings.AntiDopamineMode { if c.s.Settings.AntiDopamineMode {
excludes = append(excludes, "follow", "favourite", "reblog") excludes = append(excludes, "follow", "favourite", "reblog")