Appease the linter
parent
88bfe6fc39
commit
5d804e1e57
|
@ -183,9 +183,9 @@ export const CommandMap = {
|
||||||
auto_join: true,
|
auto_join: true,
|
||||||
});
|
});
|
||||||
return success();
|
return success();
|
||||||
} else if(params[0][0] === '!') {
|
} else if (params[0][0] === '!') {
|
||||||
let roomId = params[0];
|
const roomId = params[0];
|
||||||
let viaServers = params.splice(0);
|
const viaServers = params.splice(0);
|
||||||
|
|
||||||
dis.dispatch({
|
dis.dispatch({
|
||||||
action: 'view_room',
|
action: 'view_room',
|
||||||
|
@ -197,7 +197,7 @@ export const CommandMap = {
|
||||||
auto_join: true,
|
auto_join: true,
|
||||||
});
|
});
|
||||||
return success();
|
return success();
|
||||||
} else if(matrixToMatches) {
|
} else if (matrixToMatches) {
|
||||||
let entity = matrixToMatches[1];
|
let entity = matrixToMatches[1];
|
||||||
let eventId = null;
|
let eventId = null;
|
||||||
let viaServers = [];
|
let viaServers = [];
|
||||||
|
@ -237,7 +237,7 @@ export const CommandMap = {
|
||||||
dispatch["opts"] = {
|
dispatch["opts"] = {
|
||||||
// These are passed down to the js-sdk's /join call
|
// These are passed down to the js-sdk's /join call
|
||||||
server_name: viaServers,
|
server_name: viaServers,
|
||||||
}
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
dis.dispatch(dispatch);
|
dis.dispatch(dispatch);
|
||||||
|
|
Loading…
Reference in New Issue