improve tox joining code and add 2 common groups to join

This commit is contained in:
Green Sky
2024-12-02 00:51:00 +01:00
parent 1a12447804
commit c68a9a2245
2 changed files with 32 additions and 9 deletions

View File

@@ -1,5 +1,7 @@
#pragma once
#include <string>
class ToxClient;
struct ConfigModelI;
struct ToxPrivateI;
@@ -10,7 +12,9 @@ class ToxUIUtils {
ToxClient& _tc;
ConfigModelI& _conf;
ToxPrivateI* _tp{nullptr};
ToxPrivateI* _tp {nullptr};
char _chat_id[32*2+1] {};
public:
ToxUIUtils(