Add attachments and event fields to ChatMessageDto; ignore unknown fields

Fixkamo-shared-library
Dikirim
1 Mei 2026 pukul 14.38 UTC
Penulis
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.

Semua perubahan

Seperti apa yang Anda lihat pengiriman?

Semua pembaruan ini secara otomatis mendarat di ruang kerja Anda. Mulai bebas dan menontonnya tumbuh minggu demi minggu.

Mulai Bebas SelamanyaTampilkan Harga