aboutsummaryrefslogtreecommitdiff
path: root/mastodon
diff options
context:
space:
mode:
authorr <r@freesoftwareextremist.com>2020-09-03 06:26:32 +0000
committerr <r@freesoftwareextremist.com>2020-09-03 06:29:03 +0000
commit7a59d010f6d07bcfb074e60f1f06b002c4bf7b74 (patch)
treee39adf5e43b74a2c2c66e7e5b38592108b6545f3 /mastodon
parent28695fb8e6b299389347fc8c42f7dc3923b42f24 (diff)
downloadbloat-7a59d010f6d07bcfb074e60f1f06b002c4bf7b74.tar.gz
bloat-7a59d010f6d07bcfb074e60f1f06b002c4bf7b74.zip
Fix issues related to AntiDopamine mode
- Add AntiDopamine mode description - Update fluoride to support AntiDopamine mode
Diffstat (limited to 'mastodon')
-rw-r--r--mastodon/notification.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/mastodon/notification.go b/mastodon/notification.go
index 5983396..656e6a1 100644
--- a/mastodon/notification.go
+++ b/mastodon/notification.go
@@ -23,7 +23,7 @@ type Notification struct {
}
// GetNotifications return notifications.
-func (c *Client) GetNotifications(ctx context.Context, pg *Pagination, excludes ...string) ([]*Notification, error) {
+func (c *Client) GetNotifications(ctx context.Context, pg *Pagination, excludes []string) ([]*Notification, error) {
var notifications []*Notification
params := url.Values{}
for _, exclude := range excludes {