# Fix inclusion of spurious views from other projects in FollowResponse \(\#3116\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 7a39455af9105ac5c5a3ab16ee4385bf6dfc05f6

Requested commit: 7a39455af9105ac5c5a3ab16ee4385bf6dfc05f6

Commit: 7a39455af9105ac5c5a3ab16ee4385bf6dfc05f6

Tree: 4933e5c4e527d4726e6891d7e84e1f0479462990

Author: Max Brunsfeld

Committer: GitHub

## Message

```
Fix inclusion of spurious views from other projects in FollowResponse (#3116)

A logic error in https://github.com/zed-industries/zed/pull/2993 caused
follow responses to sometimes contain extra views for other unshared
projects 😱 . These views would generally fail to deserialize on the
other end. This would create a broken intermediate state, where the
following relationship was registered on the server (and on the leader's
client), but the follower didn't have the state necessary for following
into certain views.

Release Notes:

- Fixed a bug where following would sometimes fail if the leader had
another unshared project open.
```

## Parents

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

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

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