diff --git a/CMakeLists.txt b/CMakeLists.txt index 64cb4ac..24bb7a3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,6 +1,6 @@ cmake_minimum_required (VERSION 3.7) project (expandurl-mastodon - VERSION 0.2.4 + VERSION 0.2.5 LANGUAGES CXX ) diff --git a/src/masto.cpp b/src/masto.cpp index ffae336..e0aea67 100644 --- a/src/masto.cpp +++ b/src/masto.cpp @@ -105,6 +105,7 @@ std::vector Listener::get_new_messages() if (count_empty > 5) { _running = false; + count_empty = 0; } }