mirror of
https://github.com/zulip/zulip.git
synced 2025-10-30 11:33:51 +00:00
This commit updates the traditional url of a channel-topic narrow to topic permalink upon arrival of new message in the narrow, by using the `with` operator on it. The requirement for this change arises when we navigate to an empty topic. Since it has no messages yet, we fallback to the traditional channel-topic links. However, when a new message arrives to this empty topic, we want the url to live update to a permalink of the narrow. This is done as an effort to make sure channel-topic narrows always contain `with` term.