fix mentions filter
This commit is contained in:
@@ -58,7 +58,7 @@ class _MyAppState extends State<MyApp> with TickerProviderStateMixin {
|
|||||||
|
|
||||||
final client = StreamChatClient(
|
final client = StreamChatClient(
|
||||||
apiKey ?? kDefaultStreamApiKey,
|
apiKey ?? kDefaultStreamApiKey,
|
||||||
logLevel: Level.SEVERE,
|
logLevel: Level.INFO,
|
||||||
)..chatPersistenceClient = chatPersistentClient;
|
)..chatPersistenceClient = chatPersistentClient;
|
||||||
|
|
||||||
if (userId != null) {
|
if (userId != null) {
|
||||||
@@ -501,7 +501,7 @@ class UserMentionPage extends StatelessWidget {
|
|||||||
child: MessageSearchListView(
|
child: MessageSearchListView(
|
||||||
filters: Filter.in_('members', [user.id]),
|
filters: Filter.in_('members', [user.id]),
|
||||||
messageFilters: Filter.custom(
|
messageFilters: Filter.custom(
|
||||||
operator: 'contains',
|
operator: r'$contains',
|
||||||
key: 'mentioned_users.id',
|
key: 'mentioned_users.id',
|
||||||
value: user.id,
|
value: user.id,
|
||||||
),
|
),
|
||||||
|
|||||||
Reference in New Issue
Block a user