Skip to content

Commit

Permalink
[EVOLUTION] enable_ack_receipt enabled by default
Browse files Browse the repository at this point in the history
  • Loading branch information
dudanogueira committed Apr 20, 2024
1 parent 03168d4 commit ff466ec
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion rocket_connect/plugins/evolution.py
Expand Up @@ -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
Expand Down Expand Up @@ -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(
Expand Down

0 comments on commit ff466ec

Please sign in to comment.