Fix stuck on room loading
For fresh account, when "/room" ("/join" worked). Issue #76.
This commit is contained in:
parent
b9783403fc
commit
d32bc1134d
2 changed files with 11 additions and 6 deletions
|
|
@ -418,7 +418,9 @@ export default {
|
|||
return this.$matrix.currentRoom;
|
||||
},
|
||||
roomId() {
|
||||
if (!this.$matrix.ready) {
|
||||
if (!this.$matrix.ready && this.currentUser) {
|
||||
// If we have a user already, wait for ready state. If not, we
|
||||
// dont want to return here, because we want to redirect to "join".
|
||||
return null; // Not ready yet...
|
||||
}
|
||||
if (this.room) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue