Add attachments and event fields to ChatMessageDto; ignore unknown fields

Fixkamo-shared-library
Ya
1 Mei 2026, 14:38 UTC
Mwandishi
Kamo
Ahadi ya
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.

Mabadiliko yote

Je, unaona nini kuhusu usafiri?

Kila moja ya hizi updates ardhi katika nafasi yako ya kazi moja kwa moja. Kuanza bure na kuangalia kukua wiki baada ya wiki.

Kuwa Huru MileleMtazamo wa bei