fix(gateway): allow Control UI chat without node
This commit is contained in:
parent
266fd748d0
commit
2694e59ba6
1 changed files with 0 additions and 15 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue