diff --git a/src/channel.ts b/src/channel.ts index f1370de81..5ffb0bcb9 100644 --- a/src/channel.ts +++ b/src/channel.ts @@ -656,7 +656,7 @@ export class Channel); } + _isTypingIndicatorsEnabled(): boolean { + if (!this.getConfig()?.typing_events) { + return false; + } + return this.getClient().user?.privacy_settings?.typing_indicators?.enabled ?? true; + } + /** * lastMessage - return the last message, takes into account that last few messages might not be perfectly sorted * diff --git a/src/types.ts b/src/types.ts index 6d14135bc..9b1318bcf 100644 --- a/src/types.ts +++ b/src/types.ts @@ -702,6 +702,7 @@ export type OwnUserBase