aboutsummaryrefslogtreecommitdiffstats
path: root/src/features/messages.js
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-10-07 08:40:21 -0700
committerAdam Soltys <[email protected]>2026-10-07 08:40:21 -0700
commit3aff6e4cc9eb97fc0fa488f1f95001f69f24330a (patch)
tree932ed498851f9e2167a1c1419c96d630be0d02e2 /src/features/messages.js
parent6d288aeb194d2765282cf9fd72bd1f5fdd747a71 (diff)
parent6c51dcf2542314d5fe883f756f0840ef51860d67 (diff)
downloadcoinosv3-3aff6e4cc9eb97fc0fa488f1f95001f69f24330a.tar.gz
coinosv3-3aff6e4cc9eb97fc0fa488f1f95001f69f24330a.zip
Merge branch 'worktree-agent-ad1d843e9e394974e'
Diffstat (limited to 'src/features/messages.js')
-rw-r--r--src/features/messages.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/features/messages.js b/src/features/messages.js
index bbec23e..3ab64d9 100644
--- a/src/features/messages.js
+++ b/src/features/messages.js
@@ -5680,7 +5680,9 @@ export function messagesFeature(ctx) {
const task = (async () => {
const got = (await storedMediaThumb(url)) || (await makeMediaThumb(url).catch(() => null));
if (got) {
- if (got.thumb) await decodeAhead(got.thumb);
+ // no copy (small already, or a GIF): the original is what paints,
+ // so it's the one decoded ahead — the row mustn't decode it on sight
+ await decodeAhead(got.thumb || url);
mediaReady.set(url, got);
return;
}