From c3d595f68b2e3b96757fd58a450bbd16fd3bc77c Mon Sep 17 00:00:00 2001 From: niansa Date: Wed, 11 Nov 2020 14:59:42 +0100 Subject: [PATCH] Fixed room loading for small rooms --- libcommsy.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libcommsy.cpp b/libcommsy.cpp index 98ec5fb..9618493 100644 --- a/libcommsy.cpp +++ b/libcommsy.cpp @@ -356,7 +356,7 @@ libCommsy::libCommsy(const std::string& _server_url, const std::string& _server_ while (1) { // Check connection and download feed try { - statuscode = curlreq(httpcontent, server_sid, server_url + "/room/" + room + "/feed/10/date?lastId=" + lastID); + statuscode = curlreq(httpcontent, server_sid, server_url + "/room/" + room + "/feed/0/date?lastId=" + lastID); } catch (std::exception&) { throw connectionFailError(); }