Restart member and feedback synchronization over existing transports

This commit is contained in:
evgeny committed 2026-10-06 22:40:47 +02:00
1 parent 7f4a1a66fa
commit bbc8b7693a
2 files changed
+12 -3

No files matched your search

+6
View File
@@ -786,6 +786,12 @@ int chat_sync_init(struct UTUN_INSTANCE* inst) {
chat_admin_init(inst);
chat_join_init(inst);
/* После restart транспорт может уже быть UP: нового conn_up не будет. */
if (cs->channel_count) {
cs_schedule_sync(cs);
DEBUG_INFO(DEBUG_CATEGORY_MEMBER_SYNC, "%s: initial member sync scheduled channels=%d", CS_ID, cs->channel_count);
}
DEBUG_INFO(DEBUG_CATEGORY_MEMBER_SYNC, "%s: initialized", CS_ID);
return 0;
}