Skip to content

Commit fdb0902

Browse files
committed
add 'notifications' option to a newly created default config
1 parent 87b38ba commit fdb0902

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/config.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,12 @@ Config::create_new_config()
9898
option.append_attribute("name").set_value("url_timeout");
9999
option.append_attribute("value").set_value(static_cast<float>(url_timeout_ms) / 1000.f);
100100
}
101+
102+
{
103+
auto option = root.append_child("option");
104+
option.append_attribute("name").set_value("notifications");
105+
option.append_attribute("value").set_value(notifications);
106+
}
101107
}
102108

103109
void

0 commit comments

Comments
 (0)