Skip to content

Commit 1ba56c5

Browse files
committed
register: Include archived_channels in register request
This enables the client to receive metadata about archived streams in the register response and events, allowing it to handle them properly.
1 parent ec9aa35 commit 1ba56c5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/api/route/events.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ Future<InitialSnapshot> registerQueue(ApiConnection connection) {
1818
'user_avatar_url_field_optional': false, // TODO(#254): turn on
1919
'stream_typing_notifications': true,
2020
'user_settings_object': true,
21+
'archived_channels': true,
2122
},
2223
});
2324
}

0 commit comments

Comments
 (0)