def _get_profile_room(profile):
    """get the profile's room from properties."""
    if profile.properties:
        props = profile.properties.split(";")
        room_prop = props[0].split("=")
        if len(room_prop) >= 1:
            return room_prop[1]
    else:
        return None