We need to set the local state of a channel before performing any async operations. Otherwise, multiple leave/join calls can race against each other and cause the local state to get out-of-sync with the server.
Followup to
|
||
|---|---|---|
| .. | ||
| app-events.js | ||
| document-title.js | ||
| emoji-store.js | ||
| key-value-store.js | ||
| logs-notice.js | ||
| media-optimization-worker.js | ||
| message-bus.js | ||
| pm-topic-tracking-state.js | ||
| presence.js | ||
| screen-track.js | ||
| search.js | ||
| site-settings.js | ||
| store.js | ||
| user-status.js | ||