Ring users upon connection if somebody was calling them before connecting

Co-Authored-By: Nathan Sobo <nathan@zed.dev>
This commit is contained in:
Antonio Scandurra 2022-09-26 17:37:58 +02:00
parent 6aa0f0b200
commit 80ab144bf3
6 changed files with 90 additions and 47 deletions

View file

@ -214,7 +214,7 @@ impl UserStore {
.await?,
from: this
.update(&mut cx, |this, cx| {
this.get_user(envelope.payload.from_user_id, cx)
this.get_user(envelope.payload.caller_user_id, cx)
})
.await?,
};