pressing J when in a live session now leaves the session (closes #76)

This commit is contained in:
Steffen 2020-12-27 20:13:44 +01:00
parent 2741950837
commit cd6cf1ed4a
1 changed files with 1 additions and 1 deletions

View File

@ -255,7 +255,7 @@ export default {
}
},
joinSession() {
if (this.session.sessionId) return;
if (this.session.sessionId) return this.leaveSession();
const sessionId = prompt(
"Enter the channel number / name of the session you want to join"
);