Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Delegate all room alias validation to the RoomAliasField validator #3807

Merged
merged 2 commits into from
Jan 6, 2020

Conversation

t3chguy
Copy link
Member

@t3chguy t3chguy commented Jan 5, 2020

Fixes element-hq/element-web#11732
Fixes element-hq/element-web#11737

alias

Signed-off-by: Michael Telatynski [email protected]

@t3chguy t3chguy requested a review from a team January 5, 2020 22:01
Signed-off-by: Michael Telatynski <[email protected]>
@aaronraimist
Copy link
Contributor

It probably shouldn't say this alias is available to use when you haven't typed anything in yet

@t3chguy
Copy link
Member Author

t3chguy commented Jan 5, 2020

I don't disagree but this PR does not change the validator:

image

@t3chguy
Copy link
Member Author

t3chguy commented Jan 5, 2020

@aaronraimist seems like this was done on purpose:

if (!value) {
return true;
}

@t3chguy t3chguy merged commit 163df61 into develop Jan 6, 2020
@t3chguy t3chguy deleted the t3chguy/fix_AliasSettings branch April 27, 2020 17:59
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Room alias validation inconsistent room settings add alias button should be greyed out if alias taken
3 participants