iachat/spec/services/whatsapp
Cayo P. R. Oliveira e0708ca6f8 fix: handle new contact without push name (#13)
* fix: resolve bug for contact name when user stats a new conversation with a new contact

* chore: update specs to cover the bug resolution

* chore: correct variable name

* chore: simplify update contact name handling

* chore: ensure pushName is always a string and leave a comment to keep an eye if always pushName will be present

* fix: update contact name access

* chore: identify and permit only direct users jid types (#14)

* fix: add jid_type method to classify message sender types and prevent processing for non-user jids

* chore: update jid parsing to correctly extract phone number and improve message type detection

* chore: add spec to ensure no conversation is created for non-user messages

* chore: update jid shape comment

* chore: refactor jid_type method

* chore: update message_type logic for classify text messages when is a extendedTextMessage

* refactor: update spec that no conversation is created for non-user messages

* fix: use update! method for contact name update

* chore: add note on distinguishing broadcast and status JIDs in Baileys

* chore: add note on Baileys internal function for JID classification
2025-04-03 23:28:38 -03:00
..
providers feat!: update validate_provider_config? endpoint 2025-04-03 23:28:38 -03:00
incoming_message_baileys_service_spec.rb fix: handle new contact without push name (#13) 2025-04-03 23:28:38 -03:00
incoming_message_service_spec.rb fix: Avoid processing reactions, ephemeral, request_welcome or unsupported messages (#8780) 2024-01-25 11:40:18 +04:00
incoming_message_whatsapp_cloud_service_spec.rb fix: Check valid params exists in WhatsAapp payload (#6780) 2023-03-30 12:10:59 +05:30
send_on_whatsapp_service_spec.rb fix: Add support for named parameter templates in WhatsApp (#11198) 2025-03-28 14:07:03 -07:00