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

"Failure to create room": When user isn't allowed to create an alias #2324

Open
jaller94 opened this issue Jan 26, 2023 · 5 comments
Open

"Failure to create room": When user isn't allowed to create an alias #2324

jaller94 opened this issue Jan 26, 2023 · 5 comments
Labels
O-Occasional Affects or can be seen by some users regularly or most users rarely S-Minor Impairs non-critical functionality or suitable workarounds exist T-Defect X-Spec-Changes

Comments

@jaller94
Copy link
Contributor

jaller94 commented Jan 26, 2023

Steps to reproduce

  1. Have a home sever that restricts who can create an alias.
  2. Create a public room with an alias.

Peek 2023-01-26 14-18

Outcome

What did you expect?

  • Ideally, the room creation dialog would know that I cannot create an alias.
  • As a fallback, an error should tell me that I cannot create public rooms with an alias.

What happened instead?

Screenshot 2023-01-26 at 14-13-54 Element Mjolnir

Application version

Element version: 1.11.19 Olm version: 3.2.12

Homeserver

Fairly recent Synapse

Will you send logs?

Yes

@jaller94
Copy link
Contributor Author

This prevents me from creating a public room in the dialog, because an alias is required.

Workaround:

  • Create a private room
  • Make it public through the room settings

@jaller94
Copy link
Contributor Author

jaller94 commented Jan 26, 2023

Also, the following error is thrown:

Uncaught TypeError: can't access property "message", e is undefined
showJoinRoomError RoomViewStore.tsx:579
joinRoomError RoomViewStore.tsx:616
onDispatch RoomViewStore.tsx:300

@SimonBrandner SimonBrandner added S-Minor Impairs non-critical functionality or suitable workarounds exist O-Occasional Affects or can be seen by some users regularly or most users rarely X-Needs-Design labels Jan 27, 2023
@t3chguy
Copy link
Member

t3chguy commented Jan 30, 2023

The Matrix Spec doesn't have provisions for whether a user can or cannot assign aliases, it implies everyone can, therefore the server here is slightly out of spec IMO.

@gaelledel
Copy link

Client needs to query whether it can create aliases in advance of creating a room. This requires spec work.

@gaelledel
Copy link

When engineering comes to this piece of work, we can re add the X needs design label to collaborate on copy

@t3chguy t3chguy transferred this issue from element-hq/element-web Mar 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
O-Occasional Affects or can be seen by some users regularly or most users rarely S-Minor Impairs non-critical functionality or suitable workarounds exist T-Defect X-Spec-Changes
Projects
None yet
Development

No branches or pull requests

5 participants