Add attachments and event fields to ChatMessageDto; ignore unknown fields

Fixkamo-shared-library
Spegnimento
1 maggio 2026 alle ore 14:38 UTC
Autore
Kamo
Impegno
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.

Tutte le modifiche

Come quello che vedi la spedizione?

Ognuno di questi aggiornamenti atterra automaticamente nello spazio di lavoro. Inizia gratis e guardalo crescere settimana dopo settimana.

Inizia gratis per sempreVisualizza il prezzo