Fix localStorage entry of homeserver url

Change-Id: I206e3b4428df1f51d4281ad4db26bd64bdffb85d
This commit is contained in:
Michael Albert
2020-04-21 14:00:57 +02:00
parent 24abcd4e4a
commit d3cd2e9e33
3 changed files with 3 additions and 3 deletions

View File

@@ -68,7 +68,7 @@ const validateAlias = fieldval => {
if (fieldval === undefined) {
return undefined;
}
const homeserver = localStorage.getItem("home_server");
const homeserver = localStorage.getItem("home_server_url");
if (approximateAliasLength(fieldval, homeserver) > 255) {
return "synapseadmin.rooms.alias_too_long";