@@ -421,7 +421,6 @@ class PerAccountStore extends PerAccountStoreBase with ChangeNotifier, EmojiStor
421
421
throw Exception ("bad initial snapshot: missing queueId" );
422
422
}
423
423
424
- final realmUrl = account.realmUrl;
425
424
final core = CorePerAccountStore ._(
426
425
globalStore: globalStore,
427
426
connection: connection,
@@ -440,7 +439,7 @@ class PerAccountStore extends PerAccountStoreBase with ChangeNotifier, EmojiStor
440
439
customProfileFields: _sortCustomProfileFields (initialSnapshot.customProfileFields),
441
440
emailAddressVisibility: initialSnapshot.emailAddressVisibility,
442
441
emoji: EmojiStoreImpl (
443
- realmUrl : realmUrl , allRealmEmoji: initialSnapshot.realmEmoji),
442
+ core : core , allRealmEmoji: initialSnapshot.realmEmoji),
444
443
userSettings: initialSnapshot.userSettings,
445
444
typingNotifier: TypingNotifier (
446
445
core: core,
@@ -490,8 +489,7 @@ class PerAccountStore extends PerAccountStoreBase with ChangeNotifier, EmojiStor
490
489
required this .unreads,
491
490
required this .recentDmConversationsView,
492
491
required this .recentSenders,
493
- }) : assert (emoji.realmUrl == core.connection.realmUrl),
494
- _realmEmptyTopicDisplayName = realmEmptyTopicDisplayName,
492
+ }) : _realmEmptyTopicDisplayName = realmEmptyTopicDisplayName,
495
493
_emoji = emoji,
496
494
_users = users,
497
495
_channels = channels,
0 commit comments