GetStream / stream-chat-js

JS / Browser Client - Build Chat with GetStream.io
https://getstream.io/chat/
Other
178 stars 76 forks source link

feat: user privacy settings #1277

Closed myandrienko closed 4 months ago

myandrienko commented 4 months ago

Adds support for user-level privacy settings. A new field privacy_settings can be passed in a user object in connectUser() and upsertUser().

Generally, just passing this data to backend should be enough (backend will discard read/typing events accordingly). However, we go one step further and also prevent the client from sending typing.start and typing.stop events at all.

github-actions[bot] commented 4 months ago

Size Change: +1.64 kB (0%)

Total Size: 367 kB

Filename Size Change
dist/browser.es.js 79.4 kB +407 B (+1%)
dist/browser.full-bundle.min.js 48 kB +140 B (0%)
dist/browser.js 80.3 kB +341 B (0%)
dist/index.es.js 79.4 kB +410 B (+1%)
dist/index.js 80.4 kB +341 B (0%)

compressed-size-action

oliverlaz commented 4 months ago

See #1283

myandrienko commented 4 months ago

Superseded by #1283.