mirror of
https://github.com/zulip/zulip.git
synced 2025-11-15 11:22:04 +00:00
message_fetch: Allow fetching more messages for combined feed.
Since `all_messages_data` is no longer the data for combined feed, we need to treat combined feed like any other view and continue fetching messages if required.
This commit is contained in:
@@ -118,10 +118,6 @@ export function fetch_more_if_required_for_current_msg_list(
|
|||||||
looking_for_old_msgs: boolean,
|
looking_for_old_msgs: boolean,
|
||||||
): void {
|
): void {
|
||||||
assert(message_lists.current !== undefined);
|
assert(message_lists.current !== undefined);
|
||||||
if (message_lists.current.is_combined_feed_view) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (has_found_oldest && has_found_newest) {
|
if (has_found_oldest && has_found_newest) {
|
||||||
// Even after loading more messages, we have
|
// Even after loading more messages, we have
|
||||||
// no messages to display in this narrow.
|
// no messages to display in this narrow.
|
||||||
|
|||||||
Reference in New Issue
Block a user