File tree 1 file changed +4
-0
lines changed 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -154,15 +154,19 @@ class PerAccountStore extends ChangeNotifier {
154
154
.followedBy (initialSnapshot.realmNonActiveUsers)
155
155
.followedBy (initialSnapshot.crossRealmBots)
156
156
.map ((user) => MapEntry (user.userId, user))),
157
+ streams = Map .fromEntries (initialSnapshot.streams.map (
158
+ (stream) => MapEntry (stream.streamId, stream))),
157
159
subscriptions = Map .fromEntries (initialSnapshot.subscriptions.map (
158
160
(subscription) => MapEntry (subscription.streamId, subscription))),
159
161
maxFileUploadSizeMib = initialSnapshot.maxFileUploadSizeMib;
160
162
161
163
final Account account;
162
164
final ApiConnection connection;
163
165
166
+ // TODO(#135): Keep all this data updated by handling Zulip events from the server.
164
167
final String zulipVersion;
165
168
final Map <int , User > users;
169
+ final Map <int , ZulipStream > streams;
166
170
final Map <int , Subscription > subscriptions;
167
171
final int maxFileUploadSizeMib; // No event for this.
168
172
You can’t perform that action at this time.
0 commit comments