From fc53725478ea12799848fbbb10c207bc7a1254ac Mon Sep 17 00:00:00 2001 From: jfreegman Date: Mon, 12 Feb 2024 09:33:45 -0500 Subject: [PATCH] feat: add new tox option to enable DHT groupchat saving Also update static binary script --- script/build-minimal-static-toxic.sh | 4 ++-- src/toxic.c | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/script/build-minimal-static-toxic.sh b/script/build-minimal-static-toxic.sh index 1b39a49c0..8ea871a12 100755 --- a/script/build-minimal-static-toxic.sh +++ b/script/build-minimal-static-toxic.sh @@ -136,10 +136,10 @@ mkdir -p "$BUILD_DIR" cd "$BUILD_DIR" # The git hash of the c-toxcore version we're using -TOXCORE_VERSION="c08409390fe185c8b65e218d5c36c9347234f3e7" +TOXCORE_VERSION="c71567dc18515f69111c5af7902bc0357f0cd9ea" # The sha256sum of the c-toxcore tarball for TOXCORE_VERSION -TOXCORE_HASH="28614c74fa8cf4aa5ae1dbd6857dfe3656e0d07f44572dde2fdbdc625bb6af42" +TOXCORE_HASH="31c211385db8022f498dc6f81702908729dc770549787050d4e77b0c23d8971f" TOXCORE_FILENAME="c-toxcore-$TOXCORE_VERSION.tar.gz" diff --git a/src/toxic.c b/src/toxic.c index 164cea389..1da0181da 100644 --- a/src/toxic.c +++ b/src/toxic.c @@ -950,6 +950,7 @@ static void init_tox_options(const Run_Options *run_opts, struct Tox_Options *to tox_options_set_proxy_type(tox_opts, run_opts->proxy_type); tox_options_set_tcp_port(tox_opts, run_opts->tcp_port); tox_options_set_local_discovery_enabled(tox_opts, !run_opts->disable_local_discovery); + tox_options_set_experimental_groups_persistence(tox_opts, true); if (run_opts->logging) { tox_options_set_log_callback(tox_opts, cb_toxcore_logger);