You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-07-28 15:22:05 +03:00
Yes yes, eslint
This commit is contained in:
@ -131,8 +131,8 @@ export function getStoredSessionOwner() {
|
|||||||
* for a real user. If there is no stored session, return null.
|
* for a real user. If there is no stored session, return null.
|
||||||
*/
|
*/
|
||||||
export function getStoredSessionIsGuest() {
|
export function getStoredSessionIsGuest() {
|
||||||
const {hsUrl, isUrl, accessToken, userId, deviceId, isGuest} = _getLocalStorageSessionVars();
|
const sessVars = _getLocalStorageSessionVars();
|
||||||
return hsUrl && userId && accessToken ? isGuest : null;
|
return sessVars.hsUrl && sessVars.userId && sessVars.accessToken ? sessVars.isGuest : null;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user