diff --git a/projects/stream-chat-angular/src/lib/chat-client.service.ts b/projects/stream-chat-angular/src/lib/chat-client.service.ts index 81b73f5b..7839a541 100644 --- a/projects/stream-chat-angular/src/lib/chat-client.service.ts +++ b/projects/stream-chat-angular/src/lib/chat-client.service.ts @@ -1,5 +1,5 @@ import { Injectable, NgZone } from '@angular/core'; -import { BehaviorSubject, Observable, ReplaySubject, take } from 'rxjs'; +import { BehaviorSubject, Observable, ReplaySubject } from 'rxjs'; import { Channel, ChannelFilters, @@ -14,6 +14,7 @@ import { AppSettings, Event, StreamChat, TokenOrProvider } from 'stream-chat'; import { version } from '../assets/version'; import { NotificationService } from './notification.service'; import { DefaultStreamChatGenerics } from './types'; +import { take } from 'rxjs/operators'; export type ClientEvent< T extends DefaultStreamChatGenerics = DefaultStreamChatGenerics