A direct message is now one conversation between two people. It appears under Direct messages in Chat in every team, and new messages arrive whichever team you have selected.
If you shared more than one team with someone, your separate direct messages with them have been combined into one conversation, with every message kept in order.
In the mobile app, a notification for a direct message opens it without switching your team.