Fix Peertube follow instance feature

This commit is contained in:
tom79 2019-03-23 18:15:29 +01:00
parent e93d024276
commit 7e16caea9e
1 changed files with 4 additions and 1 deletions

View File

@ -1028,7 +1028,10 @@ public class API {
if( max_id == null)
max_id = "0";
params.put("start", max_id);
params.put("count", "50");
params.put("filter","local");
params.put("sort","-publishedAt");
params.put("count", "20");
try {
HttpsConnection httpsConnection = new HttpsConnection(context);
String response = httpsConnection.get("https://"+instance+"/api/v1/videos", 60, params, null);