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_list: Show `subscribed` bookend on subscribing a stream.

Aman Agrawal9b561212d341
diff --git a/web/src/message_list.js b/web/src/message_list.js
index 4654c80bdf8..b0ddc7f864b 100644
--- a/web/src/message_list.js
+++ b/web/src/message_list.js
@@ -388,7 +388,13 @@ export class MessageList {
// If user narrows to a stream, don't update
// trailing bookend if user is subscribed.
const sub = stream_data.get_sub(stream_name);
- if (sub && sub.subscribed && !page_params.is_spectator && !force_render) {
+ if (
+ sub &&
+ sub.subscribed &&
+ !this.last_message_historical &&
+ !page_params.is_spectator &&
+ !force_render
+ ) {
return;
}