diff options
Diffstat (limited to 'service')
-rw-r--r-- | service/service.go | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/service/service.go b/service/service.go index cc59cb6..c56d96a 100644 --- a/service/service.go +++ b/service/service.go @@ -410,12 +410,11 @@ func (svc *service) ServeNotificationPage(c *model.Client, maxID string, Limit: 20, } - dope := c.Session.Settings.AntiDopamineMode - if dope { - excludes = append(excludes, "follow", "favourite", "reblog") + if c.Session.Settings.AntiDopamineMode { + excludes = []string{"follow", "favourite", "reblog"} } - notifications, err := c.GetNotifications(ctx, &pg, excludes...) + notifications, err := c.GetNotifications(ctx, &pg, excludes) if err != nil { return } |