Add support for /api/v1/streaming/hashtag/local.

This commit is contained in:
tastytea 2019-09-20 02:37:33 +02:00
parent 7f80bff4e1
commit ff649fd2eb
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07
3 changed files with 7 additions and 2 deletions

View File

@ -378,7 +378,7 @@ strings and you can use unsupported fields in an `Entity` by converting it to
** [x] GET /api/v1/streaming/public
** [x] GET /api/v1/streaming/public/local
** [x] GET /api/v1/streaming/hashtag
** [ ] GET /api/v1/streaming/hashtag/local
** [x] GET /api/v1/streaming/hashtag/local
** [x] GET /api/v1/streaming/list
** [ ] GET /api/v1/streaming/direct

View File

@ -51,6 +51,11 @@ void API::get_stream(const Mastodon::API::v1 &call,
strcall = "/api/v1/streaming/hashtag";
break;
}
case v1::streaming_hashtag_local:
{
strcall = "/api/v1/streaming/hashtag/local";
break;
}
case v1::streaming_list:
{
strcall = "/api/v1/streaming/list";

View File

@ -274,7 +274,7 @@ namespace Mastodon
streaming_public,
streaming_public_local,
streaming_hashtag,
// streaming_hashtag_local,
streaming_hashtag_local,
streaming_list,
// streaming_direct,