fixed requery only getting first message
This commit is contained in:
parent
a6fbaa192f
commit
6c2d2d2345
@ -346,7 +346,7 @@ public class ServerCommunication
|
|||||||
JSONArray arr = json.getJSONArray("data");
|
JSONArray arr = json.getJSONArray("data");
|
||||||
for (int i = 0; i < count; i++)
|
for (int i = 0; i < count; i++)
|
||||||
{
|
{
|
||||||
JSONObject o = arr.getJSONObject(0);
|
JSONObject o = arr.getJSONObject(i);
|
||||||
|
|
||||||
long time = json_lng(o, "timestamp");
|
long time = json_lng(o, "timestamp");
|
||||||
String title = json_str(o, "title");
|
String title = json_str(o, "title");
|
||||||
|
Loading…
Reference in New Issue
Block a user