Add support for /api/v1/streaming/hashtag/local.
This commit is contained in:
parent
7f80bff4e1
commit
ff649fd2eb
|
@ -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
|
||||||
** [x] GET /api/v1/streaming/public/local
|
** [x] GET /api/v1/streaming/public/local
|
||||||
** [x] GET /api/v1/streaming/hashtag
|
** [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
|
** [x] GET /api/v1/streaming/list
|
||||||
** [ ] GET /api/v1/streaming/direct
|
** [ ] GET /api/v1/streaming/direct
|
||||||
|
|
||||||
|
|
|
@ -51,6 +51,11 @@ void API::get_stream(const Mastodon::API::v1 &call,
|
||||||
strcall = "/api/v1/streaming/hashtag";
|
strcall = "/api/v1/streaming/hashtag";
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
case v1::streaming_hashtag_local:
|
||||||
|
{
|
||||||
|
strcall = "/api/v1/streaming/hashtag/local";
|
||||||
|
break;
|
||||||
|
}
|
||||||
case v1::streaming_list:
|
case v1::streaming_list:
|
||||||
{
|
{
|
||||||
strcall = "/api/v1/streaming/list";
|
strcall = "/api/v1/streaming/list";
|
||||||
|
|
|
@ -274,7 +274,7 @@ namespace Mastodon
|
||||||
streaming_public,
|
streaming_public,
|
||||||
streaming_public_local,
|
streaming_public_local,
|
||||||
streaming_hashtag,
|
streaming_hashtag,
|
||||||
// streaming_hashtag_local,
|
streaming_hashtag_local,
|
||||||
streaming_list,
|
streaming_list,
|
||||||
// streaming_direct,
|
// streaming_direct,
|
||||||
|
|
||||||
|
|
Reference in New Issue