File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -1417,9 +1417,14 @@ class _ZulipContentParser {
14171417 thumbnailUrl = src;
14181418 } else if (src.startsWith ('/external_content/' )
14191419 || src.startsWith ('https://uploads.zulipusercontent.net/' )) {
1420+ // This image preview uses camo, which still happens on current servers
1421+ // (2025-10); discussion:
1422+ // https://chat.zulip.org/#narrow/channel/412-api-documentation/topic/documenting.20inline.20images/near/2279235
14201423 srcUrl = src;
14211424 thumbnailUrl = null ;
14221425 } else if (href == src) {
1426+ // Probably generated by a server before the thumbnailing feature landed:
1427+ // https://chat.zulip.org/#narrow/channel/412-api-documentation/topic/documenting.20inline.20images/near/2279234
14231428 srcUrl = src;
14241429 thumbnailUrl = null ;
14251430 } else {
You can’t perform that action at this time.
0 commit comments