mirror of
https://github.com/element-hq/element-web
synced 2024-10-25 12:16:00 +03:00
semicolon
This commit is contained in:
parent
fec2e31b41
commit
87c808a088
1 changed files with 1 additions and 1 deletions
|
@ -389,7 +389,7 @@ function _persistCredentialsToLocalStorage(credentials) {
|
|||
* Logs the current session out and transitions to the logged-out state
|
||||
*/
|
||||
export function logout() {
|
||||
if (!MatrixClientPeg.get()) return
|
||||
if (!MatrixClientPeg.get()) return;
|
||||
|
||||
if (MatrixClientPeg.get().isGuest()) {
|
||||
// logout doesn't work for guest sessions
|
||||
|
|
Loading…
Reference in a new issue