fixed requery only getting first message

This commit is contained in:
2018-11-17 22:51:02 +01:00
parent a6fbaa192f
commit 6c2d2d2345

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");