mirror of
https://github.com/zed-industries/zed.git
synced 2025-02-07 02:57:34 +00:00
Re-subscribe to channels after signing back out
This commit is contained in:
parent
0f32145ecb
commit
fda975fb76
1 changed files with 1 additions and 1 deletions
|
@ -1050,7 +1050,7 @@ impl ChannelStore {
|
||||||
|
|
||||||
fn handle_disconnect(&mut self, wait_for_reconnect: bool, cx: &mut ModelContext<Self>) {
|
fn handle_disconnect(&mut self, wait_for_reconnect: bool, cx: &mut ModelContext<Self>) {
|
||||||
cx.notify();
|
cx.notify();
|
||||||
|
self.did_subscribe = false;
|
||||||
self.disconnect_channel_buffers_task.get_or_insert_with(|| {
|
self.disconnect_channel_buffers_task.get_or_insert_with(|| {
|
||||||
cx.spawn(move |this, mut cx| async move {
|
cx.spawn(move |this, mut cx| async move {
|
||||||
if wait_for_reconnect {
|
if wait_for_reconnect {
|
||||||
|
|
Loading…
Reference in a new issue