diff options
author | r <r@freesoftwareextremist.com> | 2020-04-19 05:57:40 +0000 |
---|---|---|
committer | r <r@freesoftwareextremist.com> | 2020-04-19 05:57:40 +0000 |
commit | 91d87b01752a35f67508d5eb6f804946d7f9f7f2 (patch) | |
tree | 65cfc14c69d4ae3b554b600457c39293bf1a79c3 /service/auth.go | |
parent | 04af1b93dc95d761b4e05a448c9d86ac67623ff6 (diff) | |
download | bloat-91d87b01752a35f67508d5eb6f804946d7f9f7f2.tar.gz bloat-91d87b01752a35f67508d5eb6f804946d7f9f7f2.zip |
Add account {hide,show}retweets
Diffstat (limited to 'service/auth.go')
-rw-r--r-- | service/auth.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/service/auth.go b/service/auth.go index dd114b4..a7c4c15 100644 --- a/service/auth.go +++ b/service/auth.go @@ -292,7 +292,7 @@ func (s *as) Vote(ctx context.Context, c *model.Client, id string, return s.Service.Vote(ctx, c, id, choices) } -func (s *as) Follow(ctx context.Context, c *model.Client, id string) (err error) { +func (s *as) Follow(ctx context.Context, c *model.Client, id string, reblogs *bool) (err error) { err = s.authenticateClient(ctx, c) if err != nil { return @@ -301,7 +301,7 @@ func (s *as) Follow(ctx context.Context, c *model.Client, id string) (err error) if err != nil { return } - return s.Service.Follow(ctx, c, id) + return s.Service.Follow(ctx, c, id, reblogs) } func (s *as) UnFollow(ctx context.Context, c *model.Client, id string) (err error) { |