diff options
Diffstat (limited to 'app/src/main/java/ml/docilealligator/infinityforreddit')
-rw-r--r-- | app/src/main/java/ml/docilealligator/infinityforreddit/apis/RedditAPI.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/app/src/main/java/ml/docilealligator/infinityforreddit/apis/RedditAPI.java b/app/src/main/java/ml/docilealligator/infinityforreddit/apis/RedditAPI.java index 318bdc96..fa672901 100644 --- a/app/src/main/java/ml/docilealligator/infinityforreddit/apis/RedditAPI.java +++ b/app/src/main/java/ml/docilealligator/infinityforreddit/apis/RedditAPI.java @@ -314,20 +314,20 @@ public interface RedditAPI { ListenableFuture<Response<String>> getBestPostsListenableFuture(@Path("sortType") String sortType, @Query("t") String sortTime, @Query("after") String lastItem, @HeaderMap Map<String, String> headers); - @GET("r/{subredditName}/{sortType}.json?raw_json=1&limit=25") + @GET("r/{subredditName}/{sortType}.json?raw_json=1&limit=25&always_show_media=1") ListenableFuture<Response<String>> getSubredditBestPostsOauthListenableFuture(@Path("subredditName") String subredditName, @Path("sortType") String sortType, @Query("after") String lastItem, @HeaderMap Map<String, String> headers); - @GET("r/{subredditName}/{sortType}.json?raw_json=1&limit=25") + @GET("r/{subredditName}/{sortType}.json?raw_json=1&limit=25&always_show_media=1") ListenableFuture<Response<String>> getSubredditBestPostsOauthListenableFuture(@Path("subredditName") String subredditName, @Path("sortType") String sortType, @Query("t") String sortTime, @Query("after") String lastItem, @HeaderMap Map<String, String> headers); - @GET("r/{subredditName}/{sortType}.json?raw_json=1&limit=25") + @GET("r/{subredditName}/{sortType}.json?raw_json=1&limit=25&always_show_media=1") ListenableFuture<Response<String>> getSubredditBestPostsListenableFuture(@Path("subredditName") String subredditName, @Path("sortType") String sortType, @Query("after") String lastItem); - @GET("r/{subredditName}/{sortType}.json?raw_json=1&limit=25") + @GET("r/{subredditName}/{sortType}.json?raw_json=1&limit=25&always_show_media=1") ListenableFuture<Response<String>> getSubredditBestPostsListenableFuture(@Path("subredditName") String subredditName, @Path("sortType") String sortType, @Query("t") String sortTime, @Query("after") String lastItem); |