enable ngc tox saving again

This commit is contained in:
Green Sky 2024-04-10 11:53:58 +02:00
parent 618ed4915e
commit 4b39541d93
No known key found for this signature in database

View File

@ -102,6 +102,7 @@ ToxClient::ToxClient(ConfigModelI& conf, std::string_view save_path, std::string
tox_options_set_end_port(options, conf.get_int("tox", "end_port").value_or(0));
tox_options_set_tcp_port(options, conf.get_int("tox", "tcp_port").value_or(0));
tox_options_set_hole_punching_enabled(options, conf.get_bool("tox", "hole_punching_enabled").value_or(true));
tox_options_set_experimental_groups_persistence(options, true);
TOX_ERR_NEW err_new;
_tox = tox_new(options, &err_new);