# Update a user's contacts when they connect; fix test failures · gitcafe/zed

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

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

Visibility: public

Requested revision: 3d6db9083d51522882740319458722843b0c9f14

Requested commit: 3d6db9083d51522882740319458722843b0c9f14

Commit: 3d6db9083d51522882740319458722843b0c9f14

Tree: b391270e52df79d2f0037ef090dca89987a752f7

Author: Nathan Sobo

Committer: Nathan Sobo

## Message

```
Update a user's contacts when they connect; fix test failures

The test failure we fixed doesn't seem directly related to the contact update. Maybe it just caused a failure to occur earlier than it would have in the sequence of seeds.

We fixed the test failure by responding to a user joining the project while holding the lock on the Store. This ensures that we don't send messages related to the project to that user until they've had a chance to setup event handlers after receiving the response.

Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>

```

## Parents

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

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