When joining, use a roomAlias if we have it
And default to the current roomId otherwisepull/21833/head
parent
df625b0d31
commit
cd6786114b
|
@ -137,7 +137,9 @@ class RoomViewStore extends Store {
|
|||
this._setState({
|
||||
joining: true,
|
||||
});
|
||||
MatrixClientPeg.get().joinRoom(this._state.roomId, payload.opts).done(() => {
|
||||
MatrixClientPeg.get().joinRoom(
|
||||
this._state.roomAlias || this._state.roomId, payload.opts,
|
||||
).done(() => {
|
||||
dis.dispatch({
|
||||
action: 'joined_room',
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue