mirror of
https://github.com/discourse/discourse.git
synced 2025-02-06 11:28:18 +00:00
25ad99637d
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 e70ed31a