From ac2e7cde415659bcf95252151a8c6567e3de9732 Mon Sep 17 00:00:00 2001 From: LucasGGamerM Date: Sun, 14 May 2023 14:39:39 -0300 Subject: [PATCH] chore: remove unused files Idk how it got there, but its now gone :D --- .../requests/timelines/GetHomeTimeline.java | 25 ------------------- 1 file changed, 25 deletions(-) delete mode 100644 mastodon/src/main/java/org/joinmastodon/android/api/misskey/requests/timelines/GetHomeTimeline.java diff --git a/mastodon/src/main/java/org/joinmastodon/android/api/misskey/requests/timelines/GetHomeTimeline.java b/mastodon/src/main/java/org/joinmastodon/android/api/misskey/requests/timelines/GetHomeTimeline.java deleted file mode 100644 index 2c0c4763a..000000000 --- a/mastodon/src/main/java/org/joinmastodon/android/api/misskey/requests/timelines/GetHomeTimeline.java +++ /dev/null @@ -1,25 +0,0 @@ -package org.joinmastodon.android.api.misskey.requests.timelines; - -import com.google.gson.reflect.TypeToken; - -import org.joinmastodon.android.GlobalUserPreferences; -import org.joinmastodon.android.api.MastodonAPIRequest; -import org.joinmastodon.android.model.Status; - -import java.util.List; - -public class GetHomeTimeline extends MastodonAPIRequest>{ - public GetHomeTimeline(String maxID, String minID, int limit, String sinceID){ - super(HttpMethod.GET, "/timelines/home", new TypeToken<>(){}); - if(maxID!=null) - addQueryParameter("max_id", maxID); - if(minID!=null) - addQueryParameter("min_id", minID); - if(sinceID!=null) - addQueryParameter("since_id", sinceID); - if(limit>0) - addQueryParameter("limit", ""+limit); - if(GlobalUserPreferences.replyVisibility != null) - addQueryParameter("reply_visibility", GlobalUserPreferences.replyVisibility); - } -}