fix chatgui: db_sync_stub + chat_sync_init for invite link join
- db_sync_stub.c: complete rewrite — proper structs, all API functions (db_sync_instance_add, insert_signed, set_insert_cb, select) Fixes db_sync_instance_add returning NULL (inst->db_sync was NULL) - libutun/CMakeLists.txt: remove src/db_sync.c, stub replaces it - chatgui/CMakeLists.txt: add transport/db_sync_stub.c - utun_node.cpp: remove redundant db_sync_init/destroy, add chat_sync_init/destroy — server now registers svc_id=48 Fixes 'no handler for svc_id=48' on incoming CHANNEL_INFO_REQ
This commit is contained in:
1 parent
0f927ccb09
commit
fa2a64007c
4 files changed
+142
-18
No files matched your search
@@ -62,7 +62,7 @@ set(UTUN_COMMON_SOURCES
|
||||
${SRC_DIR}/topo_node.c
|
||||
${SRC_DIR}/topo_node_sqlite.c
|
||||
${SRC_DIR}/route_connectivity.c
|
||||
${SRC_DIR}/db_sync.c
|
||||
# db_sync.c replaced by db_sync_stub.c (no P2P sync in chatgui)
|
||||
${SRC_DIR}/conn_mgr.c
|
||||
${TRANSPORT_DIR}/chat_sync.c
|
||||
${TRANSPORT_DIR}/merkle_sync.c
|
||||
|
||||
Reference in new issue
Block a user