mirror of
https://gitcode.com/GitHub_Trending/ji/jitsi-meet.git
synced 2025-12-30 11:22:31 +00:00
fix(jwt): Fix tenant matching for features when tenant is missing.
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user