# Fix telemetry for \`collab::ToggleMute\` and remove unregistered actions \(\#44432\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 1888106664852fcd0f38ba5d1c60d7fecc3e8c8b

Requested commit: 1888106664852fcd0f38ba5d1c60d7fecc3e8c8b

Commit: 1888106664852fcd0f38ba5d1c60d7fecc3e8c8b

Tree: 30800eaf238e10d870ad8691272431336579f62c

Author: Andrew Farkas

Committer: GitHub

## Message

```
Fix telemetry for `collab::ToggleMute` and remove unregistered actions (#44432)

This PR removes the actions `collab::ToggleScreenSharing`,
`collab::ToggleMute`, and `collab::ToggleDeafen`. They weren't actually
registered to any behavior, so while it was possible to create a keybind
bound to them, they never actually trigger. I spent ~30 minutes trying
to figure out why I was getting this result for my `"f13":
"collab::ToggleMute"` keybind in the keybind context menu:

<img width="485" height="174" alt="image"
src="https://github.com/user-attachments/assets/23064c8f-fe8d-42e5-b94f-bd4b8a0cb3b5"
/>

(This really threw me for a loop because I was trying to use this as a
known good case to compare against a _different_ action that wasn't
working because I forgot to register it.)

As a side benefit, this enables telemetry for toggling mic mute via
keybind.

Release Notes:

- Fixed telemetry for `collab::Mute`
- Removed unregistered actions `collab::ToggleMute`,
`collab::ToggleDeafen`, and `collab::ToggleScreenshare`
- The correctly-functioning actions `collab::Mute`, `collab::Deafen`,
and `collab::ScreenShare` are recommended instead
```

## Parents

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

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