Fix /join slash command via servers including room id as a via

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
pull/21833/head
Michael Telatynski 2020-06-29 16:27:59 +01:00
parent 0059d44e15
commit 9f6893ef2b
1 changed files with 1 additions and 2 deletions

View File

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