fix: Filter and alignment fix
This commit is contained in:
@@ -461,7 +461,18 @@ class __SharedGroupsScreenState extends State<_SharedGroupsScreen> {
|
|||||||
body: StreamBuilder<List<Channel>>(
|
body: StreamBuilder<List<Channel>>(
|
||||||
stream: chat.client.queryChannels(
|
stream: chat.client.queryChannels(
|
||||||
filter: {
|
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) {
|
builder: (context, snapshot) {
|
||||||
|
|||||||
Reference in New Issue
Block a user