fix(gateway): allow Control UI chat without node

This commit is contained in:
Peter Steinberger
2026-01-04 17:02:23 +00:00
parent 266fd748d0
commit 2694e59ba6

View File

@@ -134,21 +134,6 @@ export const chatHandlers: GatewayRequestHandlers = {
client,
isWebchatConnect,
}) => {
if (
client &&
isWebchatConnect(client.connect) &&
!context.hasConnectedMobileNode()
) {
respond(
false,
undefined,
errorShape(
ErrorCodes.UNAVAILABLE,
"web chat disabled: no connected iOS/Android nodes",
),
);
return;
}
if (!validateChatSendParams(params)) {
respond(
false,