* 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 |
||
|---|---|---|
| .. | ||
| providers | ||
| incoming_message_baileys_service_spec.rb | ||
| incoming_message_service_spec.rb | ||
| incoming_message_whatsapp_cloud_service_spec.rb | ||
| send_on_whatsapp_service_spec.rb | ||