mirror of
https://github.com/zulip/zulip.git
synced 2025-11-09 16:37:23 +00:00
message_events: Refresh is-followed narrow on topic visibility update.
This adds live update support for `is-followed` narrow. We need to render the narrow again instead of just adding the relevant messages from the updated topic since it not easy to determine which message we need to add based on the selected message of the user and which messages to ask from the server.
This commit is contained in:
@@ -1009,7 +1009,10 @@ export function dispatch_normal_event(event) {
|
||||
break;
|
||||
|
||||
case "user_topic":
|
||||
user_topics_ui.handle_topic_updates(event);
|
||||
user_topics_ui.handle_topic_updates(
|
||||
event,
|
||||
message_events.update_current_view_for_topic_visibility(),
|
||||
);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user