@@ -165,8 +165,11 @@ enum UserTopicVisibilityEffect {
165
165
/// Generally the only code that should need this class is [PerAccountStore]
166
166
/// itself. Other code accesses this functionality through [PerAccountStore] ,
167
167
/// or through the mixin [ChannelStore] which describes its interface.
168
- class ChannelStoreImpl with ChannelStore {
169
- factory ChannelStoreImpl ({required InitialSnapshot initialSnapshot}) {
168
+ class ChannelStoreImpl extends PerAccountStoreBase with ChannelStore {
169
+ factory ChannelStoreImpl ({
170
+ required CorePerAccountStore core,
171
+ required InitialSnapshot initialSnapshot,
172
+ }) {
170
173
final subscriptions = Map .fromEntries (initialSnapshot.subscriptions.map (
171
174
(subscription) => MapEntry (subscription.streamId, subscription)));
172
175
@@ -186,6 +189,7 @@ class ChannelStoreImpl with ChannelStore {
186
189
}
187
190
188
191
return ChannelStoreImpl ._(
192
+ core: core,
189
193
streams: streams,
190
194
streamsByName: streams.map ((_, stream) => MapEntry (stream.name, stream)),
191
195
subscriptions: subscriptions,
@@ -194,6 +198,7 @@ class ChannelStoreImpl with ChannelStore {
194
198
}
195
199
196
200
ChannelStoreImpl ._({
201
+ required super .core,
197
202
required this .streams,
198
203
required this .streamsByName,
199
204
required this .subscriptions,
0 commit comments