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

Visiting a private room has UI provide a knock button or "Call not found" #2348

Open
AndrewFerr opened this issue Apr 30, 2024 · 2 comments
Open
Labels
T-Defect Something isn't working: bugs, crashes, hangs, vulnerabilities, or other reported problems

Comments

@AndrewFerr
Copy link
Member

AndrewFerr commented Apr 30, 2024

Steps to reproduce

  1. Create a guest link for a knock/public room
  2. Change the room access to private
  3. Visit the guest link in a new tab

Outcome

What did you expect?

The guest link's ECall should report the room as being private.

What happened instead?

One of the two outcomes:

  1. The guest link's ECall offers to send a knock to the room, which unsurprisingly fails & shows the server error of:

MatrixError: [403] You don't have permission to knock (https://matrix.guest.ess-ecall-poc.ems-support.element.dev/_matrix/client/v3/knock/!xDTBDZXIBfULuWWyMZ%3Aess-ecall-poc.ems-support.element.dev?server_name=ess-ecall-poc.ems-support.element.dev)

  1. The guest link's ECall reports the call as not found, and displays a message of:

Call not found

Calls are now end-to-end encrypted and need to be created from the home page. This helps make sure everyone's using the same encryption key.

Operating system

No response

Browser information

No response

URL for webapp

https://call.guest.ess-ecall-poc.ems-support.element.dev/

Will you send logs?

No

@AndrewFerr AndrewFerr added the T-Defect Something isn't working: bugs, crashes, hangs, vulnerabilities, or other reported problems label Apr 30, 2024
@AndrewFerr AndrewFerr changed the title Joining a private room has UI provide a knock button Visiting a private room has UI provide a knock button Apr 30, 2024
@AndrewFerr AndrewFerr changed the title Visiting a private room has UI provide a knock button Visiting a private room has UI provide a knock button or "Call not found" Apr 30, 2024
@AndrewFerr
Copy link
Member Author

Outcome 1) must be due to ECall caching the room summary, because 2) is the fallback for when the room can't be found, which should be the case for a private room.

@AndrewFerr
Copy link
Member Author

As it turns out, even Element Web gives a "knock" button for private or non-existent rooms, though it gives a better error message for the former, of:

Failed to join

You need an invite to access this room.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T-Defect Something isn't working: bugs, crashes, hangs, vulnerabilities, or other reported problems
Projects
None yet
Development

No branches or pull requests

1 participant