Revalidate history peers after membership and cover preflight integrity
This commit is contained in:
1 parent
012cbdcd49
commit
a87ece370c
2 files changed
+129
-100
No files matched your search
@@ -1,5 +1,6 @@
|
||||
#include "../routing_layer/topo_group_connect.h"
|
||||
#include "member_sync.h"
|
||||
#include "db_sync.h"
|
||||
#include "chat_feedback.h"
|
||||
|
||||
#include "../routing_layer/topo_node_sqlite.h"
|
||||
@@ -777,6 +778,7 @@ static int member_apply_record(struct UTUN_INSTANCE* inst, const char* ch_id,
|
||||
void member_sync_record_committed(struct UTUN_INSTANCE* inst, const char* ns, uint64_t node_id, unsigned changes) {
|
||||
merkle_sync_changed(inst, MT_DATA_MEMBERS, ns);
|
||||
if (changes & MS_APPLY_FEEDBACK) chat_feedback_member_committed(inst, node_id);
|
||||
db_sync_members_changed(inst, ns);
|
||||
struct TOPO_GROUP* g = inst->topo_groups ? topo_groups_find(inst->topo_groups, strtoull(ns, NULL, 10)) : NULL;
|
||||
struct ETCP_CONN* conn = instance_find_conn(inst, node_id);
|
||||
if (g && g->group_type == TOPO_GROUP_TYPE_CHAT) {
|
||||
|
||||
Reference in new issue
Block a user