Commit 787ea3b
fix: handle JSON null for extras in PresenceMessage deserialization
Treat `"extras": null` as absent rather than throwing a
MessageDecodeException. This avoids a hard failure when incoming JSON
explicitly sets extras to null.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent f903317 commit 787ea3b
1 file changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
295 | 295 | | |
296 | 296 | | |
297 | 297 | | |
298 | | - | |
299 | | - | |
| 298 | + | |
| 299 | + | |
300 | 300 | | |
301 | 301 | | |
302 | | - | |
| 302 | + | |
303 | 303 | | |
304 | 304 | | |
305 | 305 | | |
| |||
0 commit comments