Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

message_feed_top_notice: Use sorted_term_types method.

Pratik Chanda1e6f6eb4b171
diff --git a/web/src/message_feed_top_notices.ts b/web/src/message_feed_top_notices.ts
index b46ed4f01ff..887028e19b5 100644
--- a/web/src/message_feed_top_notices.ts
+++ b/web/src/message_feed_top_notices.ts
@@ -58,7 +58,7 @@ export function update_top_of_narrow_notices(msg_list: MessageList): void {
!filter.includes_full_stream_history() &&
!filter.is_personal_filter() &&
!(
- _.isEqual(filter._sorted_term_types, ["sender", "has-reaction"]) &&
+ _.isEqual(filter.sorted_term_types(), ["sender", "has-reaction"]) &&
filter.terms_with_operator("sender")[0]!.operand === people.my_current_user_id()
)
) {