Trims chatroom name.
Fixes chatrooms stayed open in UI on connection failed of provider.