Skip to content

Commit 71af057

Browse files
committed
register: Temporarily ask the server to send all avatar URLs
We should implement these optimizations soon, like zulip-mobile does, but the new "Direct messages" screen (coming next) would otherwise be missing lots of avatars, which looks awkward.
1 parent 8303447 commit 71af057

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/api/route/events.dart

+2-1
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,11 @@ Future<InitialSnapshot> registerQueue(ApiConnection connection) {
1111
return connection.post('registerQueue', InitialSnapshot.fromJson, 'register', {
1212
'apply_markdown': true,
1313
'slim_presence': true,
14+
'client_gravatar': false, // TODO(#255): turn on
1415
'client_capabilities': {
1516
'notification_settings_null': true,
1617
'bulk_message_deletion': true,
17-
'user_avatar_url_field_optional': true,
18+
'user_avatar_url_field_optional': false, // TODO(#254): turn on
1819
'stream_typing_notifications': false, // TODO implement
1920
'user_settings_object': true,
2021
},

0 commit comments

Comments
 (0)