# Fully test contact request acceptance · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/9b1b61355a29c2d132372cb8148c4886490002a5)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 9b1b61355a29c2d132372cb8148c4886490002a5

Requested commit: 9b1b61355a29c2d132372cb8148c4886490002a5

Commit: 9b1b61355a29c2d132372cb8148c4886490002a5

Tree: c815aecf06ce1fc617ea40df74907e05d564026e

Author: Nathan Sobo

Committer: Nathan Sobo

## Message

```
Fully test contact request acceptance

* Be sure we send updates to multiple clients for the same user
* Be sure we send a full contacts update on initial connection

As part of this commit, I fixed an issue where we couldn't disconnect and reconnect in tests. The first disconnect would cause the I/O future to terminate asynchronously, which caused us to sign out even though the active connection didn't belong to that future. I added a guard to ensure that we only sign out if the I/O future is associated with the current connection.

```

## Parents

- [5d20338f69b44830770848476ae29b870fdddb64](https://git.cafe/gitcafe/zed/commit/5d20338f69b44830770848476ae29b870fdddb64?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/9b1b61355a29c2d132372cb8148c4886490002a5?format=markdown)
