Fix join with alias (#533)

This commit is contained in:
Ajay Bura 2022-05-11 20:56:49 +05:30
parent f77bee25ef
commit 5863dcdf67

View file

@ -63,7 +63,7 @@ function JoinAliasContent({ term, requestClose }) {
if (alias.startsWith('#')) {
try {
const aliasData = await mx.resolveRoomAlias(alias);
via = aliasData?.servers || [];
via = aliasData?.servers.slice(0, 3) || [];
if (mountStore.getItem()) {
setProcess(`Joining ${alias}...`);
}