mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2025-07-23 04:22:02 -06:00
Merge pull request #883 from vidz1979/debounce-message-break
Debounce message break
This commit is contained in:
commit
9a1d5664c9
@ -5,6 +5,7 @@
|
|||||||
* Define a global proxy to be used if the instance does not have one
|
* Define a global proxy to be used if the instance does not have one
|
||||||
* Save is on whatsapp on the database
|
* Save is on whatsapp on the database
|
||||||
* Add headers to the instance's webhook registration
|
* Add headers to the instance's webhook registration
|
||||||
|
* Debounce message break is now "\n" instead of white space
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|
||||||
@ -16,6 +17,7 @@
|
|||||||
* Use exchange name from .env on RabbitMQ
|
* Use exchange name from .env on RabbitMQ
|
||||||
* Fixed chatwoot screen
|
* Fixed chatwoot screen
|
||||||
* It is now possible to send images via the Evolution Channel
|
* It is now possible to send images via the Evolution Channel
|
||||||
|
* Removed "version" from docker-compose as it is obsolete (https://dev.to/ajeetraina/do-we-still-use-version-in-compose-3inp)
|
||||||
|
|
||||||
# 2.1.0 (2024-08-26 15:33)
|
# 2.1.0 (2024-08-26 15:33)
|
||||||
|
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
version: '3.3'
|
|
||||||
|
|
||||||
services:
|
services:
|
||||||
api:
|
api:
|
||||||
container_name: evolution_api
|
container_name: evolution_api
|
||||||
@ -20,6 +18,7 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
evolution_instances:
|
evolution_instances:
|
||||||
|
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
evolution-net:
|
evolution-net:
|
||||||
name: evolution-net
|
name: evolution-net
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
version: '3.3'
|
|
||||||
|
|
||||||
services:
|
services:
|
||||||
api:
|
api:
|
||||||
container_name: evolution_api
|
container_name: evolution_api
|
||||||
@ -19,6 +17,7 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
evolution_instances:
|
evolution_instances:
|
||||||
|
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
evolution-net:
|
evolution-net:
|
||||||
name: evolution-net
|
name: evolution-net
|
||||||
|
@ -108,7 +108,7 @@ export class ChatbotController {
|
|||||||
callback: any,
|
callback: any,
|
||||||
) {
|
) {
|
||||||
if (userMessageDebounce[remoteJid]) {
|
if (userMessageDebounce[remoteJid]) {
|
||||||
userMessageDebounce[remoteJid].message += ` ${content}`;
|
userMessageDebounce[remoteJid].message += `\n${content}`;
|
||||||
this.logger.log('message debounced: ' + userMessageDebounce[remoteJid].message);
|
this.logger.log('message debounced: ' + userMessageDebounce[remoteJid].message);
|
||||||
clearTimeout(userMessageDebounce[remoteJid].timeoutId);
|
clearTimeout(userMessageDebounce[remoteJid].timeoutId);
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user