# Rework call events api · gitcafe/zed

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

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

Visibility: public

Requested revision: 0897ed561f9acf83cda69d3790c83d58b01d6be2

Requested commit: 0897ed561f9acf83cda69d3790c83d58b01d6be2

Commit: 0897ed561f9acf83cda69d3790c83d58b01d6be2

Tree: 3e73381976b5b1f22248d283a7e5ae6daca87ecb

Author: Joseph T\. Lyons

Committer: Joseph T\. Lyons

## Message

```
Rework call events api

There were time when events with bad data were being emitted. What we found was that places where certain collaboration-related code could fail, like sending an, would still send events, and those events be in a bad state, as certain elements weren't constructed as expected, thus missing in the event. The new API guarantees that we have data in the correct configuration. In the future, we will add events for certain types of failures within Zed.

Co-Authored-By: Julia <30666851+ForLoveOfCats@users.noreply.github.com>

```

## Parents

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

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