mirror of
https://github.com/abhinavxd/libredesk.git
synced 2026-09-11 21:39:00 +00:00
52a455f1e8
Message attachments and inline images are now linked with a single UPDATE that runs in the same transaction as the message insert, so a failure can no longer leave media orphaned. The inline content_id is stamped by the query itself, and inlineContentID lowercases the uuid to match it - an uppercase hex uuid in an image URL used to save a cid the DB never matched, so the image rendered broken. Drops the now unused Attach and SetContentID.