mirror of
https://gitcode.com/GitHub_Trending/ji/jitsi-meet.git
synced 2025-12-30 03:12:29 +00:00
fix(jwt) fix not processing features if avatar, name, email are missing
This commit is contained in:
committed by
Saúl Ibarra Corretgé
parent
97f9d747c0
commit
92ca7a598a
@@ -54,8 +54,7 @@ function _overwriteLocalParticipant(
|
||||
{ avatarURL?: string; email?: string; features?: any; id?: string; name?: string; }) {
|
||||
let localParticipant;
|
||||
|
||||
if ((avatarURL || email || name)
|
||||
&& (localParticipant = getLocalParticipant(getState))) {
|
||||
if ((avatarURL || email || name || features) && (localParticipant = getLocalParticipant(getState))) {
|
||||
const newProperties: IParticipant = {
|
||||
id: localParticipant.id,
|
||||
local: true
|
||||
|
||||
Reference in New Issue
Block a user