fixed requery only getting first message

This commit is contained in:
Mike Schwörer 2018-11-17 22:51:02 +01:00
parent a6fbaa192f
commit 6c2d2d2345
Signed by: Mikescher
GPG Key ID: D3C7172E0A70F8CF

View File

@ -346,7 +346,7 @@ public class ServerCommunication
JSONArray arr = json.getJSONArray("data");
for (int i = 0; i < count; i++)
{
JSONObject o = arr.getJSONObject(0);
JSONObject o = arr.getJSONObject(i);
long time = json_lng(o, "timestamp");
String title = json_str(o, "title");