Acknowledge DeviceMute widget actions - #12790
Conversation
DeviceMute widget actions
| HangupCall = "im.vector.hangup", | ||
| CallParticipants = "io.element.participants", | ||
| MuteAudio = "io.element.mute_audio", | ||
| UnmuteAudio = "io.element.unmute_audio", |
There was a problem hiding this comment.
yes I could not find where they were used in EC, the react sdk and the widget api.
There was a problem hiding this comment.
They were used by Jitsi.
https://github.com/element-hq/element-web/blob/develop/src/vector/jitsi/index.ts#L197-L206
If they were stale then they should have been removed on that side first
There was a problem hiding this comment.
Looks like 1f64835 stopped the use of those enum values
There was a problem hiding this comment.
@robintown as the author of that commit do you have any additional context?
|
Can we allow this change without test coverage? I don't want to write a test that emits a signal and checks if reply is called? There might be a tiny bit of value in this test in terms of regression prevention but if someone removes this code it most likely is for a reason? Am I overseeing sth. What are other takes on this? |
|
The policy is code either needs Jest coverage or a playwright test up to an 80% mark to match customer contracts. Pick your poison unfortunately |
Okay that obviously rules out the "being less strict" approach. |
… error response to the widget)
d5256f7 to
14de45f
Compare

This prevents sending the default error response to the widget.
required for: element-hq/element-call#2482
Checklist
public/exportedsymbols have accurate TSDoc documentation.