mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 04:52:12 +00:00
Currently, threads in Slack direct messages will increment the `thread_counter` variable inside the thread conversion logic. Since we don't treat thread messages in Slack DMs differently than any other DM, threads in DM will only falsely increment the thread topic names in channels. This adds a condition that checks if the Slack message is a DM or not before executing the thread conversion logic.