From e162b6096152d1fa523784ed95adf3d66fb09a37 Mon Sep 17 00:00:00 2001 From: evgeny Date: Wed, 4 Nov 2026 00:54:18 +0100 Subject: [PATCH] Allow policy edits against the published snapshot during parallel receives --- src/chat/group_policy.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/chat/group_policy.c b/src/chat/group_policy.c index 3ff16ea01..88522d461 100644 --- a/src/chat/group_policy.c +++ b/src/chat/group_policy.c @@ -355,7 +355,6 @@ int group_policy_command(struct UTUN_INSTANCE* inst, const char* channel, int al struct strbuf json = strbuf_new(); char expected[65]; int result = -1, transaction = 0; const char* error = "unavailable"; if (!output || !db || !chat_channel_id(channel) || (all != 0 && all != 1) || !sqlite3_get_autocommit(db)) goto done; - if (group_policy_pending(db, channel)) { error = "sync_pending"; goto done; } if (group_policy_get(db, channel, &policy) || topo_node_sqlite_channel_get(db, channel, NULL, 0, &owner, NULL, NULL, NULL) || merkle_sync_read_hash(inst, MT_DATA_MEMBERS, channel, 0, 0, root) || gp_load(inst, channel, &m, &count, 0)) goto done; for (int i = 0; i < 32; i++) snprintf(expected + i * 2, 3, "%02x", root[i]);