@@ -263,13 +263,17 @@ class PerAccountStore extends ChangeNotifier with EmojiStore, ChannelStore, Mess
263
263
assert (connection.zulipFeatureLevel == account.zulipFeatureLevel);
264
264
265
265
final realmUrl = account.realmUrl;
266
+ final realmName = initialSnapshot.realmName;
267
+ final realmIcon = initialSnapshot.realmIconUrl;
266
268
final channels = ChannelStoreImpl (initialSnapshot: initialSnapshot);
267
269
return PerAccountStore ._(
268
270
globalStore: globalStore,
269
271
connection: connection,
270
272
realmUrl: realmUrl,
271
273
realmWildcardMentionPolicy: initialSnapshot.realmWildcardMentionPolicy,
272
274
realmMandatoryTopics: initialSnapshot.realmMandatoryTopics,
275
+ realmName: realmName,
276
+ realmIcon: realmIcon,
273
277
realmWaitingPeriodThreshold: initialSnapshot.realmWaitingPeriodThreshold,
274
278
maxFileUploadSizeMib: initialSnapshot.maxFileUploadSizeMib,
275
279
realmDefaultExternalAccounts: initialSnapshot.realmDefaultExternalAccounts,
@@ -315,6 +319,8 @@ class PerAccountStore extends ChangeNotifier with EmojiStore, ChannelStore, Mess
315
319
required this .realmUrl,
316
320
required this .realmWildcardMentionPolicy,
317
321
required this .realmMandatoryTopics,
322
+ required this .realmName,
323
+ required this .realmIcon,
318
324
required this .realmWaitingPeriodThreshold,
319
325
required this .maxFileUploadSizeMib,
320
326
required this .realmDefaultExternalAccounts,
@@ -373,6 +379,9 @@ class PerAccountStore extends ChangeNotifier with EmojiStore, ChannelStore, Mess
373
379
/// Always equal to `account.realmUrl` and `connection.realmUrl` .
374
380
final Uri realmUrl;
375
381
382
+ final String realmName;
383
+ final String realmIcon;
384
+
376
385
/// Resolve [reference] as a URL relative to [realmUrl] .
377
386
///
378
387
/// This returns null if [reference] fails to parse as a URL.
0 commit comments