Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
topic_link_util: Add comment clarifying intent.
Kislay Verma682fa3bbfc52
diff --git a/web/src/topic_link_util.ts b/web/src/topic_link_util.tsindex c209b7927b4..ac6b1e142b0 100644--- a/web/src/topic_link_util.ts+++ b/web/src/topic_link_util.ts@@ -87,6 +87,9 @@ function _get_topic_link_content(opts: {const stream_id = stream.stream_id;const escape = html_escape_markdown_syntax_characters;if (topic_name !== undefined) {+ // This url is relative, which is fine since it aims to mimic the behavior of the+ // #**stream>topic** syntax, which also appears as a relative link in the web app+ // and is not expected to work outside of the current realm / Zulip.const stream_topic_url = hash_util.by_stream_topic_url(stream_id, topic_name);const topic_display_name = util.get_final_topic_display_name(topic_name);if (message_id !== undefined) {