aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorr <r@freesoftwareextremist.com>2021-12-13 14:31:20 +0000
committerr <r@freesoftwareextremist.com>2021-12-13 14:31:20 +0000
commit556a87e8e81025559d6009293b1aa4fca4371677 (patch)
tree5b32d11fd6cd8bb04b12416a64054ef7c99c3ff7
parentdb29c3d87404677c9c02f62097d8a0307cd8d5da (diff)
downloadbloat-556a87e8e81025559d6009293b1aa4fca4371677.tar.gz
bloat-556a87e8e81025559d6009293b1aa4fca4371677.zip
Remove poll type from notification exclude
-rw-r--r--service/service.go5
1 files changed, 0 insertions, 5 deletions
diff --git a/service/service.go b/service/service.go
index 9cad731..8297764 100644
--- a/service/service.go
+++ b/service/service.go
@@ -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")