Attach stream subscriptions to CHAT lifecycle and member profiles

This commit is contained in:
evgeny committed 2026-10-12 00:01:39 +02:00
1 parent b14f00a4b2
commit 30106c8f93
11 files changed
+954 -5

No files matched your search

+2
View File
@@ -29,6 +29,7 @@
#include "topo_recovery.h"
#include "broadcast.h"
#include "../radio/radio.h"
#include "../stream/stream.h"
#include "../chat/chat_setting.h"
#define TOPO_GROUP_UTUN 0x8000000000000000ULL
@@ -624,6 +625,7 @@ static struct TOPO_GROUP* topo_group_create(struct UTUN_INSTANCE* instance, uint
static void topo_group_destroy(struct TOPO_GROUP* group) {
if (!group) return;
group->stopping = 1;
stream_cancel_group(group->instance, group->group_id);
DEBUG_INFO(DEBUG_CATEGORY_SYS, "[GRP_DESTROY] 0 enter grp=%p id=0x%016llx rec_list=%p connect=%p",
group, (unsigned long long)group->group_id, group->recovery, group->connect);