fix(jwt): Fix tenant matching for features when tenant is missing.

This commit is contained in:
Дамян Минков
2025-03-26 18:08:58 -05:00
parent 0a467f78ee
commit 8745f07052

View File

@@ -164,7 +164,7 @@ function _setJWT(store: IStore, next: Function, action: AnyAction) {
const { locationURL = { href: '' } as URL } = state['features/base/connection'];
const { tenant = '' } = parseURIString(locationURL.href) || {};
features = context.tenant === tenant ? features : {};
features = context.tenant === tenant || tenant === '' ? features : {};
}
_overwriteLocalParticipant(