add messageFilter property in messageListView
This commit is contained in:
@@ -59,7 +59,7 @@ void _initNotifications(Client client) {
|
||||
if (connector.token.value != null) {
|
||||
client.addDevice(
|
||||
connector.token.value,
|
||||
Platform.isAndroid ? 'firebase' : 'apn',
|
||||
Platform.isAndroid ? PushProvider.firebase : PushProvider.apn,
|
||||
);
|
||||
}
|
||||
});
|
||||
@@ -127,7 +127,7 @@ class ChannelListPage extends StatelessWidget {
|
||||
'\$in': [StreamChat.of(context).user.id],
|
||||
}
|
||||
},
|
||||
// sort: [SortOption('last_message_at')],
|
||||
sort: [SortOption('last_message_at')],
|
||||
pagination: PaginationParams(
|
||||
limit: 20,
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user