-
Notifications
You must be signed in to change notification settings - Fork 77
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: support privacy settings #1283
Conversation
Size Change: +627 B (0%) Total Size: 369 kB
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cc: @myandrienko
@@ -692,6 +698,10 @@ export class Channel<StreamChatGenerics extends ExtendableGenerics = DefaultGene | |||
} as Event<StreamChatGenerics>); | |||
} | |||
|
|||
_isTypingIndicatorsEnabled(): boolean { | |||
return this.getClient().user?.privacy_settings?.typing_indicators?.enabled ?? true; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would move !this.getConfig()?.typing_events
check here as well.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
makes sense
Requirements
Related PRs
API Specification