Read more at source.
Read more at source.
This issue arises due to a glitch in Slack, not a feature. It typically happens when switching between desktop and mobile Slack. If recent conversations (including group DMs) don't immediately appear in your mobile DM list until the app syncs, the app treats this as creating a new group conversation. That's why you get the chat history prompt—it's asking if you want to include your private chat history with the first colleague into this new group.
There are a few ways to ensure this never happens. First, manually pull down to refresh the app. If that doesn't work, fully close and reopen the app. That should result in your DM list being up to date, which obviates the problem. Also, if you see the 'Do you want to include the entire chat history?' prompt for a group DM you know already exists, remember to click no. And even for a new group DM, think very carefully about what might be lurking in that history before you share.
This sounds like a mobile app sync issue... the app treated this as creating a new group conversation. That's why you got the chat history prompt—it was asking if you want to include your private chat history with the first colleague into this new group.