I've experienced that while I'm in a private message chat, the app disconnects for a short time. This is visible in the red box best the text field. When it reconnects, it switches to another group. I think it's the group shown on top of the list.
Any text already typed into the text field...