mirror of
https://github.com/zulip/zulip.git
synced 2025-11-12 18:06:44 +00:00
message_fetch: Improve check for if message list is cached.
Combined feed is no longer cached by default, so this is the correct check for if the message list is cached or not.
This commit is contained in:
@@ -226,7 +226,7 @@ function get_messages_success(data: MessageFetchResponse, opts: MessageFetchOpti
|
||||
|
||||
if (
|
||||
opts.msg_list &&
|
||||
!opts.msg_list.is_combined_feed_view &&
|
||||
!opts.msg_list.should_preserve_current_rendered_state() &&
|
||||
opts.msg_list !== message_lists.current
|
||||
) {
|
||||
// We unnarrowed before receiving new messages so
|
||||
|
||||
Reference in New Issue
Block a user