Publish Zonghengjia Windows 0.4.0 client source

This commit is contained in:
2026-11-29 23:48:07 +08:00
parent 308d71021e
commit 7a00f97910
37 changed files with 1722 additions and 511 deletions
+6 -1
View File
@@ -11,7 +11,12 @@ def desired_subscriptions_for_node(node):
# on an office relay. The legacy node-sync protocol carries no enrolled-site
# proof or per-device lease; leave office provisioning fail-closed until that
# separate protocol is implemented and accepted.
if node.office_only:
if (
not node.active
or not node.subscription_enabled
or node.status != node.Status.ONLINE
or node.office_only
):
return Subscription.objects.none()
return (
Subscription.objects.select_related("user", "plan")