Updated to support mastodon-cpp 0.106.0.

This commit is contained in:
tastytea 2019-09-19 22:55:24 +02:00
vanhempi 7baaae1abc
commit c04a1b8926
Allekirjoittanut: tastytea
GPG avaimen ID: CFC39497F1B26E07
3 muutettua tiedostoa jossa 3 lisäystä ja 3 poistoa

Näytä tiedosto

@ -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:

Näytä tiedosto

@ -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:

Näytä tiedosto

@ -120,7 +120,7 @@ const std::vector<Easy::Notification> Listener::get_new_messages()
std::lock_guard<std::mutex> 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)
{