Fixes https://linear.app/chatwoot/issue/CW-6055/argumenterror-ig-post-is-not-a-valid-file-type-argumenterror This PR fixes an issue where Instagram sends webhooks with both "type": "share" and "type": "ig_post" attachments when users share Instagram posts in direct messages. The system was failing on the ig_post type because it wasn't defined, causing ArgumentError exceptions. https://github.com/user-attachments/assets/577b8ebd-80e3-4c11-95f5-d8a8c3e16534 |
||
|---|---|---|
| .. | ||
| campaigns | ||
| csat_surveys | ||
| messages | ||
| v2 | ||
| account_builder.rb | ||
| agent_builder.rb | ||
| contact_inbox_builder.rb | ||
| contact_inbox_with_contact_builder.rb | ||
| conversation_builder.rb | ||
| notification_builder.rb | ||
| notification_subscription_builder.rb | ||