mirror of
https://github.com/zulip/zulip.git
synced 2025-11-18 12:54:58 +00:00
message_fetch: Deduplicate logic for start_older_batch.
We were doing this work individually in all the callers of load_messages; better is to just do it in one place.
This commit is contained in:
@@ -42,6 +42,7 @@ run_test('basics', () => {
|
||||
reset();
|
||||
|
||||
fetch_status.start_initial_narrow();
|
||||
fetch_status.start_older_batch();
|
||||
|
||||
blocked_newer();
|
||||
blocked_older();
|
||||
@@ -64,6 +65,7 @@ run_test('basics', () => {
|
||||
reset();
|
||||
|
||||
fetch_status.start_initial_narrow();
|
||||
fetch_status.start_older_batch();
|
||||
|
||||
blocked_newer();
|
||||
blocked_older();
|
||||
|
||||
Reference in New Issue
Block a user