catchup() after each reconnect

This commit is contained in:
tastytea 2018-05-21 01:25:33 +02:00
parent 3bcb775df5
commit 0f8ca030fe
Signed by: tastytea
GPG Key ID: 59346E0EA35C67E5
2 changed files with 2 additions and 1 deletions

View File

@ -1,6 +1,6 @@
cmake_minimum_required (VERSION 3.7)
project (expandurl-mastodon
VERSION 0.5.0
VERSION 0.5.1
LANGUAGES CXX
)

View File

@ -65,6 +65,7 @@ int main(int argc, char *argv[])
cout << "DEBUG: Reestablishing connection...\n";
listener.stop();
listener.start();
new_messages = listener.catchup();
}
// Only get new messages if we don't have to catchup