Rework call events api (#3038)

There were times when events with bad data were being emitted. What we
found was that places where certain collaboration-related code could
fail, like sending an invite, would still send events; those events
would be in a bad state, as certain elements, such as a room, weren't
constructed as expected, causing the event to have missing data. 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, to
cover things like invites failing.

Release Notes:

- N/A
e9e558d8c8Joseph T. Lyons committed on 9/26/2023, 6:29:25 PM· committed by GitHubparentse2638050897ed5
3 files changedLine totals unavailable