Commit 002a324
committed
fix(hooks): pass media metadata to internal message_received hook
Forward canonical inbound media metadata to internal message_received
hooks so internal hook consumers can inspect the same mediaPath,
mediaUrl, mediaType, mediaPaths, mediaUrls, and mediaTypes fields
already available to plugin hooks (fixed in 65e2120) and
inbound_claim.
The toInternalMessageReceivedContext mapper was not updated when commit
65e2120 added these fields to the plugin mapper, causing internal
hooks to silently lose media metadata on received messages.
Signed-off-by: Sebastien Tardif <[email protected]>1 parent 01ef169 commit 002a324
2 files changed
Lines changed: 15 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
305 | 305 | | |
306 | 306 | | |
307 | 307 | | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
308 | 317 | | |
309 | 318 | | |
310 | 319 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
435 | 435 | | |
436 | 436 | | |
437 | 437 | | |
| 438 | + | |
| 439 | + | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
| 443 | + | |
438 | 444 | | |
439 | 445 | | |
440 | 446 | | |
| |||
0 commit comments