Serialize attachments in WS relay and message history; allow attachment-only sends

FixMediaService
Shipped
1 مايو 2026 في 2:39 م UTC
صاحب البلاغ
Kamo
Commit
63fc8f0

Three bugs fixed: 1. ChatSessionSubscriptionManager was building the STOMP messageMap manually and omitting attachments, sourceLanguageId, readMemberId, msgIdLastViewed, and all other event-specific fields. Now forwards every field from the DTO. 2. GET /sessions/{guid}/messages never included attachments in the per-message response. Added @Transactional(readOnly=true) and mapped msgObj.getImages() into an attachments list, matching the shape produced by createMessage. 3. createMessage rejected requests where message body was empty even when attachments were present (400 "Message is required"). Now allows empty text when attachments list is non-empty.

جميع التغييرات

مثل ما ترى الشحن؟?

كل واحد من هذه تحديثات الأراضي في مكان عملك تلقائيا. ابدأوا بالمجان وشاهدوها تنمو بعد أسبوع.

ابدأوا حراً للأبدخصخصة الفيو