# Avoid broadcasting \`SaveBuffer\` in response to a client's save request · gitcafe/zed

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

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

Visibility: public

Requested revision: 9761febf82d74c79fcfcef96a0fcd6b5c7ba43ba

Requested commit: 9761febf82d74c79fcfcef96a0fcd6b5c7ba43ba

Commit: 9761febf82d74c79fcfcef96a0fcd6b5c7ba43ba

Tree: afba8b2dbe2db92a0a1b228c8cb470bcfea983a6

Author: Antonio Scandurra

Committer: Antonio Scandurra

## Message

```
Avoid broadcasting `SaveBuffer` in response to a client's save request

The host will send a `SaveBuffer` message anyway and this prevents re-querying
the database, which could cause two `BufferSaved` messages to race and, as a
result, cause guest to apply them in the wrong order.

```

## Parents

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

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