diff --git a/crates/client/src/user.rs b/crates/client/src/user.rs
index c318c7f505..5e7d29bfa6 100644
--- a/crates/client/src/user.rs
+++ b/crates/client/src/user.rs
@@ -8,7 +8,7 @@ use gpui::{AsyncAppContext, Entity, ImageData, ModelContext, ModelHandle, Task};
use postage::{prelude::Stream, sink::Sink, watch};
use std::{
collections::{HashMap, HashSet},
- sync::Arc,
+ sync::{Arc, Weak},
};
use util::TryFutureExt as _;
@@ -38,7 +38,7 @@ pub struct UserStore {
update_contacts_tx: watch::Sender