Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
compose: Support `channel` in transforming stream-topic links.
Kislay Verma42a7b7e9824f
diff --git a/web/src/hash_util.ts b/web/src/hash_util.tsindex a40192c7d64..74ab27a8788 100644--- a/web/src/hash_util.ts+++ b/web/src/hash_util.ts@@ -304,8 +304,8 @@ export function decode_stream_topic_from_url(return null;}// This check is important as a malformed url- // may have `stream`, `topic` or `near:` in a wrong order- if (terms[0]?.operator !== "stream") {+ // may have `stream` / `channel`, `topic` or `near:` in a wrong order+ if (terms[0]?.operator !== "stream" && terms[0]?.operator !== "channel") {return null;}if (terms.length === 1) {