Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

fix(file-sharing) middleware is not async

Saúl Ibarra Corretgé916fd641785f
diff --git a/react/features/file-sharing/middleware.web.ts b/react/features/file-sharing/middleware.web.ts
index 0565dbb81f..3a21154733 100644
--- a/react/features/file-sharing/middleware.web.ts
+++ b/react/features/file-sharing/middleware.web.ts
@@ -19,7 +19,7 @@ import { IFileMetadata } from './types';
* @param {Store} store - The redux store.
* @returns {Function}
*/
-MiddlewareRegistry.register(store => next => async action => {
+MiddlewareRegistry.register(store => next => action => {
switch (action.type) {
case UPLOAD_FILES: {
const state = store.getState();