Join and start voice calls in ordinary (text) rooms #8
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
robocub/vommet#8
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Why
On Discord, voice lives in channels and you just click in. In Commet you can only join a group call in a room that was created as a voice room. Element users routinely start calls in ordinary rooms, so Commet users see the room but cannot join the call happening in it.
What exists
MatrixVoipRoomComponent.isVoipRoom()returns true only when the room'sm.room.createcontent hastype: org.matrix.msc3417.call. That type is fixed at creation and can never be added to an existing room.component_registry.dart, around line 87).room_primary_view.dartthen swaps the whole timeline for the call view.m.callbutton, and only in DMs (room_quick_access_menu.dart:canCallrequires a direct message).Plan
org.matrix.msc3401.call.memberstate, or when the user is allowed to send that state event.org.matrix.msc3401.call.memberdefaults to power level 50, so ordinary members can't join. Detect that and show "Calls aren't enabled in this room" with a one-tap fix for admins (set that event's power level to 0). Without this, joins fail with an unhelpful 403.Acceptance
Filed with LLM assistance. This is a fork-only issue; never refile it on Commet's tracker.