mirror of
https://gitcode.com/GitHub_Trending/ji/jitsi-meet.git
synced 2025-12-30 03:12:29 +00:00
fix(file-sharing) fix handling undefined metadata
This commit is contained in:
committed by
Дамян Минков
parent
67b44f4406
commit
7ac43abd03
@@ -56,6 +56,11 @@ ReducerRegistry.register<IFileSharingState>('features/file-sharing',
|
||||
|
||||
case UPDATE_CONFERENCE_METADATA: {
|
||||
const { metadata } = action;
|
||||
|
||||
if (!metadata) {
|
||||
return state;
|
||||
}
|
||||
|
||||
const files = new Map();
|
||||
|
||||
for (const [ key, value ] of Object.entries(metadata)) {
|
||||
|
||||
Reference in New Issue
Block a user