fix: Filter and alignment fix

This commit is contained in:
Deven Joshi
2020-12-10 15:18:14 +05:30
parent e0e98299ca
commit d97f7ecebf
+12 -1
View File
@@ -461,7 +461,18 @@ class __SharedGroupsScreenState extends State<_SharedGroupsScreen> {
body: StreamBuilder<List<Channel>>(
stream: chat.client.queryChannels(
filter: {
'members': [widget.mainUser.id, widget.otherUser.id],
r'$and': [
{
'members': {
r'$in': [widget.otherUser.id],
},
},
{
'members': {
r'$in': [widget.mainUser.id],
},
}
],
},
),
builder: (context, snapshot) {