diff --git a/.drone.yml b/.drone.yml index 3ad6824..922241b 100644 --- a/.drone.yml +++ b/.drone.yml @@ -2,7 +2,7 @@ pipeline: download: image: plugins/download pull: true - source: https://schlomp.space/attachments/e1c1e64b-1192-4037-aad4-95238ad648b0 + source: https://schlomp.space/tastytea/mastodon-cpp/releases/download/0.106.0/libmastodon-cpp_0.106.0-0_amd64.deb destination: mastodon-cpp.deb gcc6: diff --git a/README.md b/README.md index 4d2e079..866c3db 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ or to [@tastytea@soc.ialis.me](https://soc.ialis.me/@tastytea). * C++ compiler (tested: gcc 6/7/8) * [cmake](https://cmake.org/) (tested: 3.9 / 3.11) * [curlpp](http://www.curlpp.org/) (tested: 0.8) -* [mastodon-cpp](https://schlomp.space/tastytea/mastodon-cpp) (at least: 0.30) +* [mastodon-cpp](https://schlomp.space/tastytea/mastodon-cpp) (at least: 0.106) * [jsoncpp](https://github.com/open-source-parsers/jsoncpp) (tested: 1.8 / 1.7) * [libxdg-basedir](http://repo.or.cz/w/libxdg-basedir.git) (tested: 1.2) * Optional: diff --git a/src/masto.cpp b/src/masto.cpp index e24cdbe..e53254a 100644 --- a/src/masto.cpp +++ b/src/masto.cpp @@ -120,7 +120,7 @@ const std::vector Listener::get_new_messages() std::lock_guard lock(_ptr->get_mutex()); if (!_stream.empty()) { - for (const Easy::stream_event &event : Easy::parse_stream(_stream)) + for (const Easy::stream_event_type &event : Easy::parse_stream(_stream)) { if (event.type == Easy::event_type::Notification) {