Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Let the "Enable Element Call as an additional calling option in this room" option also set the power level for io.element.call.encryption_keys #2985

Open
ScuolaLaViadiLilith opened this issue Feb 4, 2025 · 2 comments
Labels
O-Uncommon Most users are unlikely to come across this or unexpected workflow S-Major Severely degrades major functionality or product features, with no satisfactory workaround T-Defect Something isn't working: bugs, crashes, hangs, vulnerabilities, or other reported problems T-Enhancement New features, changes in functionality, performance boosts, user-facing improvements

Comments

@ScuolaLaViadiLilith
Copy link

Your use case

Hello,

for some time now, we have decided to use private encrypted rooms in our Element space with modified roles and permissions. Specifically, we make it possible to send messages only to moderators, as well as being able to invite someone, and other things. We do the same with those who can initiate a video call with Element Call: a moderator can start it, anyone can enter it. The issue is that with custom rules configuration, Element Call video calls do not work! The moderator can initiate Element Call video calls, the room members enter the video call, but are neither audible nor visible. The moderator sees the members connected to the videocall, but it is not possible to talk to them. This only happens in encrypted, private rooms with non-standard permissions and roles! In our opinion, this is a glitch that does not make the video call function of Element Call production-ready.

At your disposal.

Have you considered any alternatives?

No response

Additional context

No response

@ScuolaLaViadiLilith ScuolaLaViadiLilith added the T-Enhancement New features, changes in functionality, performance boosts, user-facing improvements label Feb 4, 2025
@dosubot dosubot bot added O-Uncommon Most users are unlikely to come across this or unexpected workflow S-Major Severely degrades major functionality or product features, with no satisfactory workaround T-Defect Something isn't working: bugs, crashes, hangs, vulnerabilities, or other reported problems labels Feb 4, 2025
@t3chguy t3chguy transferred this issue from element-hq/element-web Feb 4, 2025
@toger5
Copy link
Contributor

toger5 commented Feb 10, 2025

We looked into the issue.
Our interpretation of:

we make it possible to send messages only to moderators

is:

we only make it possible for moderators to send messages (into the room)

If that is the case this issue is explainable.

  • for sharing encryption keys we use (as of now) room events -> if the room is setup to not allow sending room events for a member they wont be able to share their key -> no-one will see their video feed.

There is a solution you can implement now and and a plan forwards that mitigates the issue:

  • We are working on making the key sharing exclusively use toDevice messages which do not get controlled by the "send a room event power level"
  • If you want this to be fixed now you can alter the power levels event manually to use a configuration that is more custom than what the UI exposes. (Do this only if you feel comfortable with it. Altering the events manually is at your own risk.)
    To change raw power level events you need to edit the state event manually. To do so type /devtools into the composer -> explore room state -> m.room.power_levels.
    The power level JSON has to be setup so that the events dictionary contains io.element.call.encryption_keys with a value of 0 (or what fits your need)

@toger5 toger5 closed this as completed Feb 10, 2025
@toger5 toger5 changed the title New-generation Element calls do not go into private encrypted rooms with customised permissions Let the "Enable Element Call as an additional calling option in this room" option also set the power level for io.element.call.encryption_keys Feb 10, 2025
@toger5
Copy link
Contributor

toger5 commented Feb 10, 2025

It would be expected that the "Enable Element Call as an additional calling option in this room" option will make calls work under any circumstances. Hence enabling the encryption events makes sense.

@toger5 toger5 reopened this Feb 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
O-Uncommon Most users are unlikely to come across this or unexpected workflow S-Major Severely degrades major functionality or product features, with no satisfactory workaround T-Defect Something isn't working: bugs, crashes, hangs, vulnerabilities, or other reported problems T-Enhancement New features, changes in functionality, performance boosts, user-facing improvements
Projects
None yet
Development

No branches or pull requests

2 participants