aboutsummaryrefslogtreecommitdiff
path: root/service/logging.go
diff options
context:
space:
mode:
authorr <r@freesoftwareextremist.com>2020-04-19 05:57:40 +0000
committerr <r@freesoftwareextremist.com>2020-04-19 05:57:40 +0000
commit91d87b01752a35f67508d5eb6f804946d7f9f7f2 (patch)
tree65cfc14c69d4ae3b554b600457c39293bf1a79c3 /service/logging.go
parent04af1b93dc95d761b4e05a448c9d86ac67623ff6 (diff)
downloadbloat-91d87b01752a35f67508d5eb6f804946d7f9f7f2.tar.gz
bloat-91d87b01752a35f67508d5eb6f804946d7f9f7f2.zip
Add account {hide,show}retweets
Diffstat (limited to 'service/logging.go')
-rw-r--r--service/logging.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/service/logging.go b/service/logging.go
index c16cdb3..16279cc 100644
--- a/service/logging.go
+++ b/service/logging.go
@@ -221,12 +221,12 @@ func (s *ls) Vote(ctx context.Context, c *model.Client, id string, choices []str
return s.Service.Vote(ctx, c, id, choices)
}
-func (s *ls) Follow(ctx context.Context, c *model.Client, id string) (err error) {
+func (s *ls) Follow(ctx context.Context, c *model.Client, id string, reblogs *bool) (err error) {
defer func(begin time.Time) {
s.logger.Printf("method=%v, id=%v, took=%v, err=%v\n",
"Follow", id, time.Since(begin), err)
}(time.Now())
- return s.Service.Follow(ctx, c, id)
+ return s.Service.Follow(ctx, c, id, reblogs)
}
func (s *ls) UnFollow(ctx context.Context, c *model.Client, id string) (err error) {