Fix room not loaded when joining
This commit is contained in:
parent
29acde8604
commit
0e8039f02d
2 changed files with 21 additions and 5 deletions
|
|
@ -50,7 +50,7 @@ export default {
|
|||
return this.$matrix.matrixClient.joinRoom(this.roomId);
|
||||
})
|
||||
.then((room) => {
|
||||
this.$matrix.setCurrentRoomId(room.roomId);
|
||||
this.$matrix.setCurrentRoom(room);
|
||||
this.loading = false;
|
||||
this.loadingMessage = null;
|
||||
this.$router.replace({ name: "Chat" });
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue