mirror of
https://git.phreedom.club/localhost_frssoft/bloat.git
synced 2024-11-25 13:21:28 +00:00
Remove poll type from notification exclude
This commit is contained in:
parent
db29c3d874
commit
556a87e8e8
|
@ -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")
|
||||||
|
|
Loading…
Reference in a new issue