Remove poll type from notification exclude

This commit is contained in:
r 2021-12-13 14:31:20 +00:00
parent db29c3d874
commit 556a87e8e8

View File

@ -422,11 +422,6 @@ func (s *service) NotificationPage(c *client, maxID string,
// For now, only Pleroma supports this option, Mastadon
// will simply ignore the unknown params.
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 {
excludes = append(excludes, "follow", "favourite", "reblog")