Skip to content

Conversation

@Richards0nd
Copy link
Contributor

This commit refactors the code in ChatwootService to update the content_attributes when replyToIds are present. Instead of directly spreading the replyToIds object, the code now converts it to a JSON string and appends it to the data object.

Refactor the code to improve readability and maintainability.

This commit refactors the code in ChatwootService to update the content_attributes when replyToIds are present. Instead of directly spreading the replyToIds object, the code now converts it to a JSON string and appends it to the data object.

Refactor the code to improve readability and maintainability.
@lucianodltec
Copy link

This PR fix "TypeError: source.on is not a function" error when user replies a message with audio or any attachment.

@DavidsonGomes DavidsonGomes merged commit 968cc25 into EvolutionAPI:v2.0.0 Oct 17, 2024
@Richards0nd Richards0nd deleted the fix branch November 8, 2024 02:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants