Skip to content

Commit 92230c0

Browse files
committed
model [nfc]: Add a comment about archived_channels client capability
1 parent 3c94f6d commit 92230c0

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

lib/api/model/model.dart

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -628,10 +628,15 @@ class ZulipStream {
628628
final int streamId;
629629
String name;
630630

631+
// We don't expect `true` for this until we declare the `archived_channels`
632+
// client capability.
633+
//
631634
// Servers that don't send this property will only send non-archived channels;
632635
// default to false for those servers.
636+
// TODO(server-10) remove default and its comment
637+
// TODO(#800) remove comment about `archived_channels` client capability.
633638
@JsonKey(defaultValue: false)
634-
bool isArchived; // TODO(server-10) remove default and its comment
639+
bool isArchived;
635640

636641
String description;
637642
String renderedDescription;

0 commit comments

Comments
 (0)