Browse Source

Updated to support mastodon-cpp 0.106.0.

master
tastytea 2 months ago
parent
commit
c04a1b8926
Signed by: tastytea <tastytea@tastytea.de> GPG Key ID: CFC39497F1B26E07
3 changed files with 3 additions and 3 deletions
  1. +1
    -1
      .drone.yml
  2. +1
    -1
      README.md
  3. +1
    -1
      src/masto.cpp

+ 1
- 1
.drone.yml View File

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

+ 1
- 1
README.md View File

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

+ 1
- 1
src/masto.cpp View File

@@ -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)
{

Loading…
Cancel
Save