Merge pull request #4856 from matrix-org/t3chguy/fix-join-slashcmd

Fix /join slash command via servers including room id as a via
pull/21833/head
Michael Telatynski 2020-06-30 17:36:15 +01:00 committed by GitHub
commit 55e0df3e00
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -495,8 +495,7 @@ export const Commands = [
});
return success();
} else if (params[0][0] === '!') {
const roomId = params[0];
const viaServers = params.splice(0);
const [roomId, ...viaServers] = params;
dis.dispatch({
action: 'view_room',