mirror of
https://github.com/discourse/discourse.git
synced 2025-02-24 19:19:56 +08:00

Previously if you linked to a chat thread inline, our oneboxer did not have special handling for this, so the link would end up with the text "Chat #channel-name" which is not ideal for a thread. This commit makes it so the thread onebox is in the format "Thread title - #channel-name" if the thread title exists, otherwise we show "Thread in #channel-name"