KamoCRM

Count text message attachments

Featurekamo-shared-library
Shipped
9 ஆகஸ்ட், 2026 அன்று 5:44 AM UTC
Author
Kamo
Commit
fe2aaea

MMS attachments are stored, and were not counted. They are also not what they look like: VoipMessageService encodes the attachment as a data: URI and writes it inline into VOIP_MESSAGES.ATTACHMENT_URL, so they never become MinIO objects and there is no file to stat — the measurement is the stored character length, via the conversation's org. Base64 runs about a third larger than the bytes it encodes, and that inflated form is genuinely what occupies the database, so that is what gets counted.

All changes

Like what you see shipping?

All of it arrives in your workspace on its own. Start on the free plan and read this page again in a month.

Start Free ForeverView Pricing