@@ -263,13 +263,17 @@ class PerAccountStore extends ChangeNotifier with EmojiStore, ChannelStore, Mess
263263    assert (connection.zulipFeatureLevel ==  account.zulipFeatureLevel);
264264
265265    final  realmUrl =  account.realmUrl;
266+     final  realmName =  initialSnapshot.realmName;
267+     final  realmIcon =  initialSnapshot.realmIconUrl;
266268    final  channels =  ChannelStoreImpl (initialSnapshot:  initialSnapshot);
267269    return  PerAccountStore ._(
268270      globalStore:  globalStore,
269271      connection:  connection,
270272      realmUrl:  realmUrl,
271273      realmWildcardMentionPolicy:  initialSnapshot.realmWildcardMentionPolicy,
272274      realmMandatoryTopics:  initialSnapshot.realmMandatoryTopics,
275+       realmName:  realmName,
276+       realmIcon:  realmIcon,
273277      realmWaitingPeriodThreshold:  initialSnapshot.realmWaitingPeriodThreshold,
274278      maxFileUploadSizeMib:  initialSnapshot.maxFileUploadSizeMib,
275279      realmDefaultExternalAccounts:  initialSnapshot.realmDefaultExternalAccounts,
@@ -315,6 +319,8 @@ class PerAccountStore extends ChangeNotifier with EmojiStore, ChannelStore, Mess
315319    required  this .realmUrl,
316320    required  this .realmWildcardMentionPolicy,
317321    required  this .realmMandatoryTopics,
322+     required  this .realmName,
323+     required  this .realmIcon,
318324    required  this .realmWaitingPeriodThreshold,
319325    required  this .maxFileUploadSizeMib,
320326    required  this .realmDefaultExternalAccounts,
@@ -373,6 +379,9 @@ class PerAccountStore extends ChangeNotifier with EmojiStore, ChannelStore, Mess
373379  /// Always equal to `account.realmUrl`  and `connection.realmUrl` . 
374380final  Uri  realmUrl;
375381
382+   final  String  realmName;
383+   final  String  realmIcon;
384+ 
376385  /// Resolve [reference]  as a URL relative to [realmUrl] . 
377386  /// 
378387  /// This returns null if [reference]  fails to parse as a URL. 
0 commit comments