semicolon
This commit is contained in:
+1
-1
@@ -389,7 +389,7 @@ function _persistCredentialsToLocalStorage(credentials) {
|
|||||||
* Logs the current session out and transitions to the logged-out state
|
* Logs the current session out and transitions to the logged-out state
|
||||||
*/
|
*/
|
||||||
export function logout() {
|
export function logout() {
|
||||||
if (!MatrixClientPeg.get()) return
|
if (!MatrixClientPeg.get()) return;
|
||||||
|
|
||||||
if (MatrixClientPeg.get().isGuest()) {
|
if (MatrixClientPeg.get().isGuest()) {
|
||||||
// logout doesn't work for guest sessions
|
// logout doesn't work for guest sessions
|
||||||
|
|||||||
Reference in New Issue
Block a user