diff options
author | r <r@freesoftwareextremist.com> | 2019-12-15 17:37:58 +0000 |
---|---|---|
committer | r <r@freesoftwareextremist.com> | 2019-12-15 17:37:58 +0000 |
commit | f68d72ae0eb2eb6c15cd225c1a3b9185aaa20e3f (patch) | |
tree | 301e89bb8ebb56b9756fe322eb9ad953bac2661e /service/auth.go | |
parent | 51a4b16af518fde883df50f7f627fda21c18065e (diff) | |
download | bloat-f68d72ae0eb2eb6c15cd225c1a3b9185aaa20e3f.tar.gz bloat-f68d72ae0eb2eb6c15cd225c1a3b9185aaa20e3f.zip |
Add notification support
Diffstat (limited to 'service/auth.go')
-rw-r--r-- | service/auth.go | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/service/auth.go b/service/auth.go index 98012af..e9bec38 100644 --- a/service/auth.go +++ b/service/auth.go @@ -111,6 +111,14 @@ func (s *authService) ServeThreadPage(ctx context.Context, client io.Writer, c * return s.Service.ServeThreadPage(ctx, client, c, id, reply) } +func (s *authService) ServeNotificationPage(ctx context.Context, client io.Writer, c *mastodon.Client, maxID string, minID string) (err error) { + c, err = s.getClient(ctx) + if err != nil { + return + } + return s.Service.ServeNotificationPage(ctx, client, c, maxID, minID) +} + func (s *authService) Like(ctx context.Context, client io.Writer, c *mastodon.Client, id string) (err error) { c, err = s.getClient(ctx) if err != nil { |