tidy
This commit is contained in:
parent
5966fade0b
commit
27731ac25b
1 changed files with 1 additions and 1 deletions
|
@ -278,8 +278,8 @@ class RoomViewStore extends Store<ActionPayload> {
|
||||||
|
|
||||||
const cli = MatrixClientPeg.get();
|
const cli = MatrixClientPeg.get();
|
||||||
const address = this.state.roomAlias || this.state.roomId;
|
const address = this.state.roomAlias || this.state.roomId;
|
||||||
|
const viaServers = this.state.viaServers || [];
|
||||||
try {
|
try {
|
||||||
const viaServers = this.state.viaServers || [];
|
|
||||||
await retry<void, MatrixError>(() => cli.joinRoom(address, {
|
await retry<void, MatrixError>(() => cli.joinRoom(address, {
|
||||||
viaServers,
|
viaServers,
|
||||||
...payload.opts,
|
...payload.opts,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue