mirror of
https://github.com/nuclearfog/Shitter.git
synced 2025-01-01 04:17:21 +01:00
bugfix
This commit is contained in:
parent
2fa4f87f0b
commit
bd23e009a9
@ -643,7 +643,8 @@ public class Mastodon implements Connection {
|
||||
public Statuses getStatusReplies(long id, long minId, long maxId) throws MastodonException {
|
||||
Statuses statusThreads = getStatuses(ENDPOINT_STATUS + id + "/context", new ArrayList<>(0), minId, maxId);
|
||||
Statuses result = new Statuses();
|
||||
for (int i = 0; i < settings.getListSize(); i++)
|
||||
int limit = Math.min(statusThreads.size(), settings.getListSize());
|
||||
for (int i = 0; i < limit; i++)
|
||||
result.add(statusThreads.get(i));
|
||||
result.setNextCursor(Statuses.NO_ID);
|
||||
return result;
|
||||
|
Loading…
Reference in New Issue
Block a user