diff options
author | r <r@freesoftwareextremist.com> | 2019-12-26 11:25:29 +0000 |
---|---|---|
committer | r <r@freesoftwareextremist.com> | 2019-12-26 11:25:29 +0000 |
commit | 591360f2a8727e3b1f9e5f28ed3f6d983d6464b8 (patch) | |
tree | a65f4b12d04897cb7bdbf6747ba03cca29e3441c /service/auth.go | |
parent | ac4ff88adb9a2526555757f8d4e65c69cafb3788 (diff) | |
download | bloat-591360f2a8727e3b1f9e5f28ed3f6d983d6464b8.tar.gz bloat-591360f2a8727e3b1f9e5f28ed3f6d983d6464b8.zip |
Add post format selection
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 c408672..0c2e7f6 100644 --- a/service/auth.go +++ b/service/auth.go @@ -181,12 +181,12 @@ func (s *authService) UnRetweet(ctx context.Context, client io.Writer, c *model. return s.Service.UnRetweet(ctx, client, c, id) } -func (s *authService) PostTweet(ctx context.Context, client io.Writer, c *model.Client, content string, replyToID string, visibility string, isNSFW bool, files []*multipart.FileHeader) (id string, err error) { +func (s *authService) PostTweet(ctx context.Context, client io.Writer, c *model.Client, content string, replyToID string, format string, visibility string, isNSFW bool, files []*multipart.FileHeader) (id string, err error) { c, err = s.getClient(ctx) if err != nil { return } - return s.Service.PostTweet(ctx, client, c, content, replyToID, visibility, isNSFW, files) + return s.Service.PostTweet(ctx, client, c, content, replyToID, format, visibility, isNSFW, files) } func (s *authService) Follow(ctx context.Context, client io.Writer, c *model.Client, id string) (err error) { |