Skip to content

Commit

Permalink
[EVOLUTION] - also incoming messages as conversation
Browse files Browse the repository at this point in the history
  • Loading branch information
dudanogueira committed Apr 25, 2024
1 parent 3ff8fec commit e4a6d6f
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions rocket_connect/plugins/evolution.py
Expand Up @@ -648,6 +648,14 @@ def incoming(self):
)
deliver = self.outcome_text(room.room_id, text)
print(deliver)
if message.get("conversation"):
text = (
self.message.get("data", {})
.get("message", {})
.get("conversation")
)
deliver = self.outcome_text(room.room_id, text)
print(deliver)
#
# outcome if image
#
Expand Down

0 comments on commit e4a6d6f

Please sign in to comment.