Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
stream_topic_history: Let server help us with latest msg id for topics.
Aman Agrawalcffae1439c70
diff --git a/web/src/stream_topic_history.ts b/web/src/stream_topic_history.tsindex eb700ef484f..17c4e9220cf 100644--- a/web/src/stream_topic_history.ts+++ b/web/src/stream_topic_history.ts@@ -187,8 +187,10 @@ export class PerStreamHistory {const existing = this.topics.get(topic_name);if (existing) {- // Trust out local data more, since it- // maintains counts.+ // If we have a topic in our cache, we update+ // the message_id to accurately reflect the latest+ // message in the topic.+ existing.message_id = message_id;continue;}