KamoCRM

Add attachments and event fields to ChatMessageDto; ignore unknown fields

Fixkamo-shared-library
Shipped
1 மே, 2026 அன்று 2:38 PM UTC
Author
Kamo
Commit
6c8b1c3

ChatMessageDto was missing `attachments`, `readMemberId`, `msgIdLastViewed`, `dateLastViewed`, `addedMemberId`, `objImgId`, `transitMemberId`, and `isJoin` fields. Jackson was throwing UnrecognizedPropertyException on every NATS message that included any of these (READ_RECEIPT, CREATE with attachments, etc.), causing ChatSessionSubscriptionManager to abort the relay entirely — attachments and read-receipts never reached WebSocket clients. Also add **************** = true) as a safety net for future event fields without requiring DTO changes.

All changes

Like what you see shipping?

All of it arrives in your workspace on its own. Start on the free plan and read this page again in a month.

Start Free ForeverView Pricing