From f3b5581536c2cddb0a41357ffbc267cb726caa79 Mon Sep 17 00:00:00 2001 From: kanat Date: Tue, 30 Apr 2024 10:06:41 -0400 Subject: [PATCH] do not send typing if indicators are disabled --- src/channel.ts | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/channel.ts b/src/channel.ts index f1370de81..58488caa4 100644 --- a/src/channel.ts +++ b/src/channel.ts @@ -659,6 +659,9 @@ export class Channel); } + _isTypingIndicatorsEnabled(): boolean { + 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 *