Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
topic_popover: Update topic URL to permalink for message header popover.
Sayam Samala0441b5bcb12
diff --git a/web/src/topic_popover.ts b/web/src/topic_popover.tsindex 1693cd837dd..6cb0a0fdee4 100644--- a/web/src/topic_popover.ts+++ b/web/src/topic_popover.ts@@ -36,7 +36,7 @@ function get_conversation(instance: tippy.Instance): {const $message_header = $elt.closest(".message_header").expectOne();stream_id = Number.parseInt($message_header.attr("data-stream-id")!, 10);topic_name = $message_header.attr("data-topic-name")!;- const topic_narrow_url = hash_util.by_stream_topic_url(stream_id, topic_name);+ const topic_narrow_url = hash_util.by_channel_topic_permalink(stream_id, topic_name);url = new URL(topic_narrow_url, realm.realm_url).href;} else if (!instance.reference.classList.contains("topic-sidebar-menu-icon")) {const $elt = $(instance.reference);