diff --git a/README.adoc b/README.adoc index 6c7ceed..81a43d3 100644 --- a/README.adoc +++ b/README.adoc @@ -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 diff --git a/src/api/get_stream.cpp b/src/api/get_stream.cpp index 29e6b3e..b57752e 100644 --- a/src/api/get_stream.cpp +++ b/src/api/get_stream.cpp @@ -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"; diff --git a/src/mastodon-cpp.hpp b/src/mastodon-cpp.hpp index 048e9d9..cd76fa5 100644 --- a/src/mastodon-cpp.hpp +++ b/src/mastodon-cpp.hpp @@ -274,7 +274,7 @@ namespace Mastodon streaming_public, streaming_public_local, streaming_hashtag, - // streaming_hashtag_local, + streaming_hashtag_local, streaming_list, // streaming_direct,