Fix join with alias (#533)
This commit is contained in:
parent
f77bee25ef
commit
5863dcdf67
1 changed files with 1 additions and 1 deletions
|
@ -63,7 +63,7 @@ function JoinAliasContent({ term, requestClose }) {
|
||||||
if (alias.startsWith('#')) {
|
if (alias.startsWith('#')) {
|
||||||
try {
|
try {
|
||||||
const aliasData = await mx.resolveRoomAlias(alias);
|
const aliasData = await mx.resolveRoomAlias(alias);
|
||||||
via = aliasData?.servers || [];
|
via = aliasData?.servers.slice(0, 3) || [];
|
||||||
if (mountStore.getItem()) {
|
if (mountStore.getItem()) {
|
||||||
setProcess(`Joining ${alias}...`);
|
setProcess(`Joining ${alias}...`);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue