Skip to content

Commit c86a5d8

Browse files
committed
content [nfc]: Add comments linking to CZO, pending API-doc update
The linked discussion is about adding documentation; we can link to that documentation once it's added.
1 parent d9a3d24 commit c86a5d8

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

lib/model/content.dart

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff 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 {

0 commit comments

Comments
 (0)