This commit is contained in:
Grishka 2023-11-25 03:38:57 +03:00
parent 723853079e
commit d1aba87e13

View File

@ -178,6 +178,7 @@ public class HomeTimelineFragment extends StatusListFragment implements ToolbarD
if(refreshing) if(refreshing)
list.scrollToPosition(0); list.scrollToPosition(0);
maxID=result.isEmpty() ? null : result.get(result.size()-1).id; maxID=result.isEmpty() ? null : result.get(result.size()-1).id;
AccountSessionManager.get(accountID).filterStatuses(result, FilterContext.PUBLIC);
onDataLoaded(result, !result.isEmpty()); onDataLoaded(result, !result.isEmpty());
} }
}) })
@ -191,6 +192,7 @@ public class HomeTimelineFragment extends StatusListFragment implements ToolbarD
if(refreshing) if(refreshing)
list.scrollToPosition(0); list.scrollToPosition(0);
maxID=result.isEmpty() ? null : result.get(result.size()-1).id; maxID=result.isEmpty() ? null : result.get(result.size()-1).id;
AccountSessionManager.get(accountID).filterStatuses(result, FilterContext.HOME);
onDataLoaded(result, !result.isEmpty()); onDataLoaded(result, !result.isEmpty());
} }
}) })