Fix connecting to recent rooms

This commit is contained in:
MagicalCodeMonkey 2020-03-21 23:40:11 -04:00
parent a741b931e2
commit 0fea8dcb24
1 changed files with 3 additions and 1 deletions

View File

@ -310,7 +310,9 @@ export default {
},
async recentConnect(recent) {
console.log('Attempting to connect to', recent);
this.selectedServer = recent.server;
this.selectedServer = {
url: recent.server
};
this.room = recent.room;
this.password = recent.password;
await this.attemptConnect();