From e534e46c70e5e6b61af0f31692fe02b0ddfd568e Mon Sep 17 00:00:00 2001 From: Rogee Date: Tue, 22 Sep 2026 10:17:15 +0800 Subject: [PATCH] fix: advertise database sync capabilities --- node-agent/WxAgent.Service/RemoteAgentHostedService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/node-agent/WxAgent.Service/RemoteAgentHostedService.cs b/node-agent/WxAgent.Service/RemoteAgentHostedService.cs index e140a1c..1af1e35 100644 --- a/node-agent/WxAgent.Service/RemoteAgentHostedService.cs +++ b/node-agent/WxAgent.Service/RemoteAgentHostedService.cs @@ -701,7 +701,7 @@ public sealed class RemoteAgentHostedService( private static RemoteNodeRegistration CreateRegistration(RemoteAgentOptions remote, ReportingConfig reporting, BackendSnapshot snapshot) => new(remote.NodeId!, typeof(RemoteAgentHostedService).Assembly.GetName().Version?.ToString() ?? "dev", - RemoteProtocol.Version, ["heartbeat", "poll-tasks", "send-text", "read-sessions", "read-contacts", "read-messages", "report-message"], reporting.ConfigVersion, + RemoteProtocol.Version, ["heartbeat", "poll-tasks", "send-text", "read-sessions", "read-contacts", "read-messages", "db-messages", "db-merged", "report-message"], reporting.ConfigVersion, snapshot.Accounts .Where(identity => identity.Verified) .Select(identity =>