# Fix routing of leader updates from unshared projects \(\#4028\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 8478ddb6d2fad19def2ed672a1001a318e7a0770

Requested commit: 8478ddb6d2fad19def2ed672a1001a318e7a0770

Commit: 8478ddb6d2fad19def2ed672a1001a318e7a0770

Tree: e2815b2cc18a221f52bdb39b505a9a88a570422b

Author: Max Brunsfeld

Committer: GitHub

## Message

```
Fix routing of leader updates from unshared projects (#4028)

Previously, leader updates in unshared projects would be sent to all
followers regardless of project, as if they were not scoped to any
project.

- Fixes a crash that could sometimes happen when following someone if
they were focused on an unshared project.
```

## Parents

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

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

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