@@ -23,7 +23,7 @@ import 'database.dart';
23
23
import 'message.dart' ;
24
24
import 'message_list.dart' ;
25
25
import 'recent_dm_conversations.dart' ;
26
- import 'stream .dart' ;
26
+ import 'channel .dart' ;
27
27
import 'typing_status.dart' ;
28
28
import 'unreads.dart' ;
29
29
@@ -201,7 +201,7 @@ abstract class GlobalStore extends ChangeNotifier {
201
201
/// This class does not attempt to poll an event queue
202
202
/// to keep the data up to date. For that behavior, see
203
203
/// [UpdateMachine] .
204
- class PerAccountStore extends ChangeNotifier with StreamStore , MessageStore {
204
+ class PerAccountStore extends ChangeNotifier with ChannelStore , MessageStore {
205
205
/// Construct a store for the user's data, starting from the given snapshot.
206
206
///
207
207
/// The global store must already have been updated with
@@ -226,7 +226,7 @@ class PerAccountStore extends ChangeNotifier with StreamStore, MessageStore {
226
226
connection ?? = globalStore.apiConnectionFromAccount (account);
227
227
assert (connection.zulipFeatureLevel == account.zulipFeatureLevel);
228
228
229
- final streams = StreamStoreImpl (initialSnapshot: initialSnapshot);
229
+ final streams = ChannelStoreImpl (initialSnapshot: initialSnapshot);
230
230
return PerAccountStore ._(
231
231
globalStore: globalStore,
232
232
connection: connection,
@@ -272,7 +272,7 @@ class PerAccountStore extends ChangeNotifier with StreamStore, MessageStore {
272
272
required this .userSettings,
273
273
required this .users,
274
274
required this .typingStatus,
275
- required StreamStoreImpl streams,
275
+ required ChannelStoreImpl streams,
276
276
required MessageStoreImpl messages,
277
277
required this .unreads,
278
278
required this .recentDmConversationsView,
@@ -340,10 +340,10 @@ class PerAccountStore extends ChangeNotifier with StreamStore, MessageStore {
340
340
UserTopicVisibilityPolicy topicVisibilityPolicy (int streamId, String topic) =>
341
341
_streams.topicVisibilityPolicy (streamId, topic);
342
342
343
- final StreamStoreImpl _streams;
343
+ final ChannelStoreImpl _streams;
344
344
345
345
@visibleForTesting
346
- StreamStoreImpl get debugStreamStore => _streams;
346
+ ChannelStoreImpl get debugStreamStore => _streams;
347
347
348
348
////////////////////////////////
349
349
// Messages, and summaries of messages.
0 commit comments