@@ -332,9 +332,9 @@ impl UserStore {
|
||||
async fn handle_update_contacts(
|
||||
this: Entity<Self>,
|
||||
message: TypedEnvelope<proto::UpdateContacts>,
|
||||
mut cx: AsyncApp,
|
||||
cx: AsyncApp,
|
||||
) -> Result<()> {
|
||||
this.read_with(&mut cx, |this, _| {
|
||||
this.read_with(&cx, |this, _| {
|
||||
this.update_contacts_tx
|
||||
.unbounded_send(UpdateContacts::Update(message.payload))
|
||||
.unwrap();
|
||||
|
||||
Reference in New Issue
Block a user