diff --git a/src/chat/chat_core.h b/src/chat/chat_core.h index 1326d2e56..5eafc1c29 100644 --- a/src/chat/chat_core.h +++ b/src/chat/chat_core.h @@ -177,9 +177,6 @@ void chat_core_delete_channel_trampoline(void* arg); // ── Утилиты ── -// Задать локальный ID в контексте чата; ключи и идентичность ядра не меняет. -void chat_core_set_my_node_id(struct UTUN_INSTANCE* inst, uint64_t node_id); - // Сохранить имя узла и обновить собственные member-записи каналов. void chat_core_update_my_name(struct UTUN_INSTANCE* inst, const char* name); diff --git a/src/chat/chat_profile.c b/src/chat/chat_profile.c index f3f590c87..5a79e83cb 100644 --- a/src/chat/chat_profile.c +++ b/src/chat/chat_profile.c @@ -26,11 +26,6 @@ #include #include -void chat_core_set_my_node_id(struct UTUN_INSTANCE* inst, uint64_t node_id) { - struct chat_core_ctx* cc = CC(inst); - if (cc) cc->my_node_id = node_id; -} - void chat_core_update_my_name(struct UTUN_INSTANCE* inst, const char* name) { struct chat_core_ctx* cc = CC(inst); if (!cc || !cc->initialized || !name) return;