Skip to content
Snippets Groups Projects
Commit c2785038 authored by 🥺's avatar 🥺 :transgender_flag: Committed by 🥺
Browse files

add back default derive for WellKnownConfig

parent fdf523a9
No related branches found
No related tags found
No related merge requests found
......@@ -159,6 +159,7 @@ pub struct Config {
pub allow_unstable_room_versions: bool,
#[serde(default = "default_default_room_version")]
pub default_room_version: RoomVersionId,
#[serde(default)]
pub well_known: WellKnownConfig,
#[serde(default)]
pub allow_jaeger: bool,
......@@ -314,7 +315,7 @@ pub struct TlsConfig {
pub dual_protocol: bool,
}
#[derive(Clone, Debug, Deserialize)]
#[derive(Clone, Debug, Deserialize, Default)]
pub struct WellKnownConfig {
pub client: Option<Url>,
pub server: Option<OwnedServerName>,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment