mirror of
https://forge.fsky.io/lda/Parsee.git
synced 2026-03-13 17:05:11 +00:00
[FIX] Write config to the proper field!
This commit is contained in:
parent
1c51d57355
commit
7f396a0379
1 changed files with 1 additions and 1 deletions
|
|
@ -68,11 +68,11 @@ ParseeConfigLoad(char *conf)
|
||||||
CopyToStr(homeserver_host, "hs_host");
|
CopyToStr(homeserver_host, "hs_host");
|
||||||
CopyToInt(homeserver_port, "hs_port");
|
CopyToInt(homeserver_port, "hs_port");
|
||||||
CopyToBool(homeserver_tls, "hs_tls");
|
CopyToBool(homeserver_tls, "hs_tls");
|
||||||
CopyToBool(homeserver_tls, "accept_pings");
|
|
||||||
if (!HashMapGet(json, "hs_tls"))
|
if (!HashMapGet(json, "hs_tls"))
|
||||||
{
|
{
|
||||||
config->homeserver_tls = true;
|
config->homeserver_tls = true;
|
||||||
}
|
}
|
||||||
|
CopyToBool(accept_pings, "accept_pings");
|
||||||
|
|
||||||
CopyToInt(component_port, "component_port");
|
CopyToInt(component_port, "component_port");
|
||||||
CopyToStr(component_addr, "component_addr");
|
CopyToStr(component_addr, "component_addr");
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue