mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2025-07-14 01:41:24 -06:00
debounce message break
This commit is contained in:
parent
2947269c4e
commit
83f87bc1c5
7
.vscode/settings.json
vendored
7
.vscode/settings.json
vendored
@ -1,7 +1,7 @@
|
||||
{
|
||||
"editor.fontSize": 13,
|
||||
// "editor.fontSize": 13,
|
||||
"editor.fontLigatures": true,
|
||||
"editor.letterSpacing": 0.5,
|
||||
// "editor.letterSpacing": 0.5,
|
||||
"editor.smoothScrolling": true,
|
||||
"editor.tabSize": 2,
|
||||
"editor.codeActionsOnSave": {
|
||||
@ -12,5 +12,6 @@
|
||||
"prisma-smart-formatter.prisma.defaultFormatter": "Prisma.prisma",
|
||||
"i18n-ally.localesPaths": [
|
||||
"store/messages"
|
||||
]
|
||||
],
|
||||
"deno.enable": false
|
||||
}
|
@ -108,7 +108,7 @@ export class ChatbotController {
|
||||
callback: any,
|
||||
) {
|
||||
if (userMessageDebounce[remoteJid]) {
|
||||
userMessageDebounce[remoteJid].message += ` ${content}`;
|
||||
userMessageDebounce[remoteJid].message += `\n${content}`;
|
||||
this.logger.log('message debounced: ' + userMessageDebounce[remoteJid].message);
|
||||
clearTimeout(userMessageDebounce[remoteJid].timeoutId);
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user