[FIX] Write config to the proper field!

This commit is contained in:
lda 2025-02-12 08:33:05 +00:00
commit 7f396a0379

View file

@ -68,11 +68,11 @@ ParseeConfigLoad(char *conf)
CopyToStr(homeserver_host, "hs_host");
CopyToInt(homeserver_port, "hs_port");
CopyToBool(homeserver_tls, "hs_tls");
CopyToBool(homeserver_tls, "accept_pings");
if (!HashMapGet(json, "hs_tls"))
{
config->homeserver_tls = true;
}
CopyToBool(accept_pings, "accept_pings");
CopyToInt(component_port, "component_port");
CopyToStr(component_addr, "component_addr");