frontend: Fixed role enum
This commit is contained in:
parent
4d8fdb49e8
commit
62484beeb5
@ -33,7 +33,7 @@ const extractParticipantRole = (metadata: any): ParticipantRole => {
|
||||
console.warn('Failed to parse participant metadata:', e);
|
||||
}
|
||||
if (!parsedMetadata || typeof parsedMetadata !== 'object') {
|
||||
return ParticipantRole.PUBLISHER;
|
||||
return ParticipantRole.SPEAKER;
|
||||
}
|
||||
return parsedMetadata.selectedRole || ParticipantRole.PUBLISHER;
|
||||
return parsedMetadata.selectedRole || ParticipantRole.SPEAKER;
|
||||
};
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user