fix new chat filter
This commit is contained in:
@@ -70,13 +70,13 @@ class _NewChatScreenState extends State<NewChatScreen> {
|
|||||||
'state': false,
|
'state': false,
|
||||||
'watch': false,
|
'watch': false,
|
||||||
},
|
},
|
||||||
filter: Filter.and([
|
filter: Filter.raw(value: {
|
||||||
Filter.equal('members', [
|
'members': [
|
||||||
..._selectedUsers.map((e) => e.id),
|
..._selectedUsers.map((e) => e.id),
|
||||||
chatState.user!.id,
|
chatState.user!.id,
|
||||||
]),
|
],
|
||||||
Filter.equal('distinct', true),
|
'distinct': true,
|
||||||
]),
|
}),
|
||||||
messageLimit: 0,
|
messageLimit: 0,
|
||||||
paginationParams: PaginationParams(
|
paginationParams: PaginationParams(
|
||||||
limit: 1,
|
limit: 1,
|
||||||
|
|||||||
Reference in New Issue
Block a user