aboutsummaryrefslogtreecommitdiff
path: root/service/service.go
diff options
context:
space:
mode:
authorr <r@freesoftwareextremist.com>2021-10-29 14:20:15 +0000
committerr <r@freesoftwareextremist.com>2021-10-29 14:20:15 +0000
commit4d68062f2d0525a9d2a40e50d60ea9b25daae9ad (patch)
treef6a8fd244a81dc1f9632aa04b5285118e2aa7191 /service/service.go
parent7d389d22581cc785005a42d655eb7f9c32aac3ec (diff)
downloadbloat-4d68062f2d0525a9d2a40e50d60ea9b25daae9ad.tar.gz
bloat-4d68062f2d0525a9d2a40e50d60ea9b25daae9ad.zip
Add "mute (keep notifications)" button
Diffstat (limited to 'service/service.go')
-rw-r--r--service/service.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/service/service.go b/service/service.go
index 244fd81..7122666 100644
--- a/service/service.go
+++ b/service/service.go
@@ -907,8 +907,8 @@ func (s *service) Reject(c *client, id string) (err error) {
return c.FollowRequestReject(c.ctx, id)
}
-func (s *service) Mute(c *client, id string) (err error) {
- _, err = c.AccountMute(c.ctx, id)
+func (s *service) Mute(c *client, id string, notifications *bool) (err error) {
+ _, err = c.AccountMute(c.ctx, id, notifications)
return
}