diff --git a/react/features/file-sharing/reducer.ts b/react/features/file-sharing/reducer.ts index db4028866c..4f758f153f 100644 --- a/react/features/file-sharing/reducer.ts +++ b/react/features/file-sharing/reducer.ts @@ -56,6 +56,11 @@ ReducerRegistry.register('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)) {