diff --git a/docusaurus/docs/Flutter/stream_chat_flutter_core/stream_user_list_controller.mdx b/docusaurus/docs/Flutter/stream_chat_flutter_core/stream_user_list_controller.mdx index 0bee29ed..885b1c82 100644 --- a/docusaurus/docs/Flutter/stream_chat_flutter_core/stream_user_list_controller.mdx +++ b/docusaurus/docs/Flutter/stream_chat_flutter_core/stream_user_list_controller.mdx @@ -27,6 +27,7 @@ class UserListPageState extends State { /// [StreamUserListController]. late final userListController = StreamUserListController( client: StreamChatCore.of(context).client, + filter: Filter.notEqual('id', StreamChatCore.of(context).currentUser!), ); ``` @@ -109,4 +110,4 @@ Widget build(BuildContext context) => Scaffold( ); ``` -In this case we're using the [`LazyLoadScrollView`](./lazy_load_scroll_view.mdx) widget to load more data when the user scrolls to the bottom of the list. \ No newline at end of file +In this case we're using the [`LazyLoadScrollView`](./lazy_load_scroll_view.mdx) widget to load more data when the user scrolls to the bottom of the list.