mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2025-07-14 01:41:24 -06:00
Merge pull request #1067 from Alexandre-Prado/fix-chatbots-send-message
fix: esvazia textBuffer dos chatbots no sendMessageWhatsapp quando splitMessages é true
This commit is contained in:
commit
b603021f56
@ -428,8 +428,8 @@ export class DifyService {
|
|||||||
},
|
},
|
||||||
false,
|
false,
|
||||||
);
|
);
|
||||||
textBuffer = '';
|
|
||||||
}
|
}
|
||||||
|
textBuffer = '';
|
||||||
}
|
}
|
||||||
|
|
||||||
if (mediaType === 'audio') {
|
if (mediaType === 'audio') {
|
||||||
|
@ -190,8 +190,8 @@ export class EvolutionBotService {
|
|||||||
},
|
},
|
||||||
false,
|
false,
|
||||||
);
|
);
|
||||||
textBuffer = '';
|
|
||||||
}
|
}
|
||||||
|
textBuffer = '';
|
||||||
}
|
}
|
||||||
|
|
||||||
if (mediaType === 'audio') {
|
if (mediaType === 'audio') {
|
||||||
@ -274,8 +274,8 @@ export class EvolutionBotService {
|
|||||||
},
|
},
|
||||||
false,
|
false,
|
||||||
);
|
);
|
||||||
textBuffer = '';
|
|
||||||
}
|
}
|
||||||
|
textBuffer = '';
|
||||||
}
|
}
|
||||||
|
|
||||||
sendTelemetry('/message/sendText');
|
sendTelemetry('/message/sendText');
|
||||||
|
@ -189,8 +189,8 @@ export class FlowiseService {
|
|||||||
},
|
},
|
||||||
false,
|
false,
|
||||||
);
|
);
|
||||||
textBuffer = '';
|
|
||||||
}
|
}
|
||||||
|
textBuffer = '';
|
||||||
}
|
}
|
||||||
|
|
||||||
if (mediaType === 'audio') {
|
if (mediaType === 'audio') {
|
||||||
@ -273,8 +273,8 @@ export class FlowiseService {
|
|||||||
},
|
},
|
||||||
false,
|
false,
|
||||||
);
|
);
|
||||||
textBuffer = '';
|
|
||||||
}
|
}
|
||||||
|
textBuffer = '';
|
||||||
}
|
}
|
||||||
|
|
||||||
sendTelemetry('/message/sendText');
|
sendTelemetry('/message/sendText');
|
||||||
|
@ -234,8 +234,8 @@ export class OpenaiService {
|
|||||||
},
|
},
|
||||||
false,
|
false,
|
||||||
);
|
);
|
||||||
textBuffer = '';
|
|
||||||
}
|
}
|
||||||
|
textBuffer = '';
|
||||||
}
|
}
|
||||||
|
|
||||||
if (mediaType === 'audio') {
|
if (mediaType === 'audio') {
|
||||||
@ -318,8 +318,8 @@ export class OpenaiService {
|
|||||||
},
|
},
|
||||||
false,
|
false,
|
||||||
);
|
);
|
||||||
textBuffer = '';
|
|
||||||
}
|
}
|
||||||
|
textBuffer = '';
|
||||||
}
|
}
|
||||||
|
|
||||||
sendTelemetry('/message/sendText');
|
sendTelemetry('/message/sendText');
|
||||||
|
Loading…
Reference in New Issue
Block a user