adopt to new toxcore master

This commit is contained in:
2024-03-08 10:50:58 +01:00
parent 6ec6fe96e4
commit a8d8613f2c
5 changed files with 8 additions and 145 deletions

View File

@ -1,4 +1,5 @@
#include "./tox_client.hpp"
#include "toxcore/tox.h"
// meh, change this
#include <exception>
@ -67,6 +68,8 @@ ToxClient::ToxClient(std::string_view save_path, std::string_view save_password)
}
}
tox_options_set_experimental_groups_persistence(options, true);
TOX_ERR_NEW err_new;
_tox = tox_new(options, &err_new);
tox_options_free(options);