mirror of
https://github.com/zulip/zulip.git
synced 2025-11-01 20:44:04 +00:00
While the STREAM_LINK_REGEX and STREAM_TOPIC_LINK_REGEX identifies the stream and topic mentions in the content correctly (tested by printing out the matches), the stream/topic mentions are still not linked to the corresponding streams/topics for imported messages, as a `zulip_message` instance is required for linking these mentions to actual streams/topics (see `StreamPattern` class in `markdown/__init__.py`) which is not provided while processing the markdown for imported messages.