mirror of
https://codeberg.org/tom79/Fedilab.git
synced 2025-01-07 00:20:08 +02:00
Fix #253 - Missing messages
This commit is contained in:
parent
f597d52a44
commit
3dd2e45987
1 changed files with 4 additions and 2 deletions
|
@ -941,8 +941,10 @@ public class FragmentMastodonTimeline extends Fragment implements StatusAdapter.
|
|||
.observe(getViewLifecycleOwner(), statusesBottom -> dealWithPagination(statusesBottom, DIRECTION.BOTTOM, false));
|
||||
}
|
||||
} else {
|
||||
timelinesVM.getHomeCache(BaseMainActivity.currentInstance, BaseMainActivity.currentUserID, max_id_fetch_more, null, null)
|
||||
.observe(getViewLifecycleOwner(), statusesBottom -> dealWithPagination(statusesBottom, DIRECTION.BOTTOM, true));
|
||||
timelinesVM.getHome(BaseMainActivity.currentInstance, BaseMainActivity.currentToken, true, max_id_fetch_more, null, null, MastodonHelper.statusesPerCall(requireActivity()), false)
|
||||
.observe(getViewLifecycleOwner(), statusesBottom -> {
|
||||
dealWithPagination(statusesBottom, DIRECTION.BOTTOM, true);
|
||||
});
|
||||
}
|
||||
} else if (direction == DIRECTION.TOP) {
|
||||
if (!fetchingMissing) {
|
||||
|
|
Loading…
Reference in a new issue