From ff466ec856b5d213c678e7615342f02ab1d22a02 Mon Sep 17 00:00:00 2001 From: Duda Nogueira Date: Sat, 20 Apr 2024 17:20:13 -0300 Subject: [PATCH] [EVOLUTION] enable_ack_receipt enabled by default --- rocket_connect/plugins/evolution.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rocket_connect/plugins/evolution.py b/rocket_connect/plugins/evolution.py index 1062056..b0311fd 100644 --- a/rocket_connect/plugins/evolution.py +++ b/rocket_connect/plugins/evolution.py @@ -846,7 +846,7 @@ def incoming(self): def handle_ack_fromme_message(self): # ack receipt if ( - self.config.get("enable_ack_receipt") + self.config.get("enable_ack_receipt", True) and self.connector.server.type == "rocketchat" ): # get the message id from whatsapp, find rocket.chat message and update @@ -1048,6 +1048,7 @@ def __init__(self, *args, **kwargs): self.fields["enable_ack_receipt"] = forms.BooleanField( required=False, help_text="This will update the ingoing message to show it was delivered and received", + initial=True ) webhook = forms.CharField(