mattn / go-mastodon

mastodon client for golang
MIT License
600 stars 85 forks source link

Add support for /api/v1/push/subscription #100

Closed buckket closed 4 years ago

buckket commented 5 years ago

As title states this adds support for all /api/v1/push/subscription methods. I had to add Sbool type because of https://github.com/tootsuite/mastodon/issues/10789.

coveralls commented 5 years ago

Coverage Status

Coverage decreased (-0.5%) to 90.054% when pulling 473262896bbd67d137fffcae398183050c6a0211 on buckket:push into 8f6192e26b66e06c5eea3a8d17e342ea57c4a86e on mattn:master.

buckket commented 5 years ago

The Sbool type is now no longer needed as this bug was fixed upstream in the v2.9.3 release of Mastodon. But maybe we should leave it for compatibility reasons with older versions.

mattn commented 4 years ago

Thank you