Only add chat to chatRooms if joined successfully