KamoCRM

A held chat attachment clears live for every viewer

FeatureMediaService
Shipped
November 8, 2026 at 8:48 AM UTC
Author
Kamo
Commit
27c9644

ConversionService publishes antivirus.content.settled when a held upload is stored or refused. AttachmentScanRelay consumes it in a core queue group (media-antivirus-settled, one pod does the lookup), finds every CHAT_ATTACHMENT img holding that content, computes scan{} with the same AttachmentScans.view every answer uses (the attachment org's policy), and sends {eventType:ATTACHMENT_SCAN, sessionGuid, objImgId, scan} through StompFanout to /topic/chat/session/<guid>, which member chat windows and the public widget both listen on. Harmful after the hold -> outcome BLOCKED ("Antivirus removed this file"). NATS permission: klusterservices 5065314.

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