Skip to content

Commit dc59d62

Browse files
committed
api [nfc]: Comment on RealmEmojiItem.stillUrl being absent when expected
1 parent 2ab661c commit dc59d62

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

lib/api/model/model.dart

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,17 @@ class RealmEmojiItem {
184184
final String emojiCode;
185185
final String name;
186186
final String sourceUrl;
187+
188+
/// The non-animated version, if this is an animated emoji.
189+
///
190+
/// As of 2025-10, this will be missing on animated emoji
191+
/// that were uploaded before Zulip Server 5 when this was added;
192+
/// see https://github.com/zulip/zulip/issues/36339 .
193+
// TODO(server-future) Update dartdoc once all supported servers
194+
// have a fix for https://github.com/zulip/zulip/issues/36339
195+
// i.e. that have run a migration to fill this in for animated emoji.
187196
final String? stillUrl;
197+
188198
final bool deactivated;
189199
final int? authorId;
190200

0 commit comments

Comments
 (0)