mirror of
https://gitea.phreedom.club/localhost_frssoft/bloat.git
synced 2024-11-22 23:13:00 +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
|
||||
// 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")
|
||||
|
Loading…
Reference in New Issue
Block a user