KamoCRM

Stop external-images banner flashing on already-allowed messages

Fixkamo-internal
Shipped
9 ஜூலை, 2026 அன்று 4:16 AM UTC
Author
kamo
Commit
6c014d3

The reading pane renders a message from its IndexedDB cache before the network fetch returns, and the cached copy lacks the server remoteImagesAllowed flag (undefined), so the gate briefly treated it as blocked and flashed the banner until the network response (remoteImagesAllowed: true) arrived. Only show the banner once we authoritatively know images are blocked-and-not-yet-allowed (remoteImagesAllowed === false); suppress it while the flag is still unknown.

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