Let Element Call widget receive m.room.create
This allows the widget to check the room version without prompting the user to grant that capability, so the widget can know about version-specific auth rules (namely MSC3779).
Signed-off-by: Andrew Ferrazzutti [email protected]
Checklist
- [ ] Tests written for new code (and old code if feasible).
- [ ] New or updated
public/exportedsymbols have accurate TSDoc documentation. - [x] Linter and other CI checks pass.
- [x] Sign-off given on the changes (see CONTRIBUTING.md).
Related change: https://github.com/element-hq/element-call/pull/2457 This lets Element Call widgets actually request this capability.
The change itself looks fine but I'm not sure I understand why the other changes to the test?
why the other changes to the test?
The "fail fast" changes are just to make the test's failure condition be an expect failure instead of a timeout (due to waiting for a "grant permission" modal dialog to be interacted with).
With that said, it's not strictly related to this PR, so I'll split it out of here.
Okay, thanks - that seems fine then!