From 30f96b780bb65205af4affe36314187a96a6f209 Mon Sep 17 00:00:00 2001 From: Green Sky Date: Sat, 16 Dec 2023 20:44:23 +0100 Subject: [PATCH] disable lan --- src/tox_client.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/tox_client.cpp b/src/tox_client.cpp index 32cb880a..156c2e64 100644 --- a/src/tox_client.cpp +++ b/src/tox_client.cpp @@ -1,4 +1,5 @@ #include "./tox_client.hpp" +#include "toxcore/tox.h" // meh, change this #include @@ -71,6 +72,7 @@ ToxClient::ToxClient(std::string_view save_path, std::string_view save_password) } } + tox_options_set_local_discovery_enabled(options, false); tox_options_set_log_callback(options, tmp_tox_log_cb); TOX_ERR_NEW err_new;