Peertube - Fix timelines not ordered by date

This commit is contained in:
stom79 2019-01-05 14:43:01 +01:00
parent cec28f04cf
commit 1deed5212c
1 changed files with 3 additions and 3 deletions

View File

@ -687,7 +687,7 @@ public class PeertubeAPI {
* @return APIResponse
*/
public APIResponse getSubscriptionsTL( String max_id) {
return getTL("/users/me/subscriptions/videos",null,null, max_id, null, null, tootPerPage);
return getTL("/users/me/subscriptions/videos","-publishedAt",null, max_id, null, null, tootPerPage);
}
/**
@ -705,7 +705,7 @@ public class PeertubeAPI {
* @return APIResponse
*/
public APIResponse getTrendingTL( String max_id) {
return getTL("/videos/","trending", null,max_id, null, null, tootPerPage);
return getTL("/videos/","-trending", null,max_id, null, null, tootPerPage);
}
/**
@ -723,7 +723,7 @@ public class PeertubeAPI {
* @return APIResponse
*/
public APIResponse getLocalTL( String max_id) {
return getTL("/videos/",null, "local",max_id, null, null, tootPerPage);
return getTL("/videos/","-publishedAt", "local",max_id, null, null, tootPerPage);
}
/**