From 8b28d8d942eb29deac2d5fafba2854fa3d9e085d Mon Sep 17 00:00:00 2001 From: Zita Szupera Date: Fri, 5 Jan 2024 14:47:51 +0100 Subject: [PATCH] fix: mentioning members in channels with more than 100 members --- projects/stream-chat-angular/src/lib/channel.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/stream-chat-angular/src/lib/channel.service.ts b/projects/stream-chat-angular/src/lib/channel.service.ts index 743663ac..dfb1c885 100644 --- a/projects/stream-chat-angular/src/lib/channel.service.ts +++ b/projects/stream-chat-angular/src/lib/channel.service.ts @@ -927,7 +927,7 @@ export class ChannelService< if (!activeChannel) { return []; } - if (Object.keys(activeChannel.state.members).length <= 100) { + if (Object.keys(activeChannel.state.members).length < 100) { return Object.values(activeChannel.state.members).filter( (m) => m.user?.id !== this.chatClientService.chatClient.userID! );