File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -495,7 +495,7 @@ class PerAccountStore extends PerAccountStoreBase with
495
495
savedSnippets: SavedSnippetStoreImpl (core: core,
496
496
savedSnippets: initialSnapshot.savedSnippets ?? []),
497
497
typingNotifier: TypingNotifier (realm: realm),
498
- users: UserStoreImpl (core : core , initialSnapshot: initialSnapshot),
498
+ users: UserStoreImpl (realm : realm , initialSnapshot: initialSnapshot),
499
499
typingStatus: TypingStatus (realm: realm),
500
500
presence: Presence (realm: realm,
501
501
initial: initialSnapshot.presences),
Original file line number Diff line number Diff line change @@ -4,10 +4,11 @@ import '../api/model/model.dart';
4
4
import 'algorithms.dart' ;
5
5
import 'localizations.dart' ;
6
6
import 'narrow.dart' ;
7
+ import 'realm.dart' ;
7
8
import 'store.dart' ;
8
9
9
10
/// The portion of [PerAccountStore] describing the users in the realm.
10
- mixin UserStore on PerAccountStoreBase {
11
+ mixin UserStore on PerAccountStoreBase , RealmStore {
11
12
/// The user with the given ID, if that user is known.
12
13
///
13
14
/// There may be other users that are perfectly real but are
@@ -131,9 +132,9 @@ enum MutedUsersVisibilityEffect {
131
132
/// Generally the only code that should need this class is [PerAccountStore]
132
133
/// itself. Other code accesses this functionality through [PerAccountStore] ,
133
134
/// or through the mixin [UserStore] which describes its interface.
134
- class UserStoreImpl extends PerAccountStoreBase with UserStore {
135
+ class UserStoreImpl extends HasRealmStore with UserStore {
135
136
UserStoreImpl ({
136
- required super .core ,
137
+ required super .realm ,
137
138
required InitialSnapshot initialSnapshot,
138
139
}) : _users = Map .fromEntries (
139
140
initialSnapshot.realmUsers
You can’t perform that action at this time.
0 commit comments