room::room(const config& wml) : name_(wml.get_attribute("name")) , members_() , persistent_(utils::string_bool(wml.get_attribute("persistent"))) , topic_(wml.get_attribute("topic")) , logged_(utils::string_bool(wml.get_attribute("logged"))) { }