aboutsummaryrefslogtreecommitdiff
path: root/app/src/main
diff options
context:
space:
mode:
authorscria1000 <91804886+scria1000@users.noreply.github.com>2021-12-13 14:04:35 +0000
committerGitHub <noreply@github.com>2021-12-13 14:04:35 +0000
commitae63e2076487f1d5a1dfb9f09b15928ebe3c1736 (patch)
tree928959b9646c2ce48cd07b9292e24952aed38d82 /app/src/main
parent5ec29e0c963041c93d3070b35a72848cd2825651 (diff)
downloadinfinity-for-reddit-ae63e2076487f1d5a1dfb9f09b15928ebe3c1736.tar
infinity-for-reddit-ae63e2076487f1d5a1dfb9f09b15928ebe3c1736.tar.gz
infinity-for-reddit-ae63e2076487f1d5a1dfb9f09b15928ebe3c1736.tar.bz2
infinity-for-reddit-ae63e2076487f1d5a1dfb9f09b15928ebe3c1736.tar.lz
infinity-for-reddit-ae63e2076487f1d5a1dfb9f09b15928ebe3c1736.tar.xz
infinity-for-reddit-ae63e2076487f1d5a1dfb9f09b15928ebe3c1736.tar.zst
infinity-for-reddit-ae63e2076487f1d5a1dfb9f09b15928ebe3c1736.zip
Fix link previews not showing (#587)
Fix link previews not showing
Diffstat (limited to 'app/src/main')
-rw-r--r--app/src/main/java/ml/docilealligator/infinityforreddit/apis/RedditAPI.java8
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);