Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.
TypeScript debiandeep-videojitsijitsi-meetscalable-video-conferencessfuvideovideo-communicationvideo-conferencingwebrtc
Fix flow errors from base/connection
Bettenbuk Zoltan18d908ce8404
diff --git a/react/features/authentication/components/LoginDialog.native.js b/react/features/authentication/components/LoginDialog.native.jsindex e1357fc639..af6e3614ad 100644--- a/react/features/authentication/components/LoginDialog.native.js+++ b/react/features/authentication/components/LoginDialog.native.js@@ -5,7 +5,8 @@ import { Text, TextInput, View } from 'react-native';import { connect as reduxConnect } from 'react-redux';import type { Dispatch } from 'redux';-import { connect, toJid } from '../../base/connection';+import { toJid } from '../../base/connection';+import { connect } from '../../base/connection/actions.native';import {CustomSubmitDialog,FIELD_UNDERLINE,diff --git a/react/features/base/connection/actionTypes.js b/react/features/base/connection/actionTypes.jsindex db2ab2a81c..3b5d3fa2e1 100644--- a/react/features/base/connection/actionTypes.js+++ b/react/features/base/connection/actionTypes.js@@ -1,3 +1,5 @@+// @flow+/*** The type of (redux) action which signals that a connection disconnected.*diff --git a/react/features/base/connection/functions.js b/react/features/base/connection/functions.jsindex dfed4642b9..7bb0408529 100644--- a/react/features/base/connection/functions.js+++ b/react/features/base/connection/functions.js@@ -8,16 +8,16 @@ import { toState } from '../redux';** @param {Function|Object} stateOrGetState - The redux state or redux's* {@code getState} function.- * @returns {string|undefined}+ * @returns {string}*/-export function getInviteURL(stateOrGetState: Function | Object): ?string {+export function getInviteURL(stateOrGetState: Function | Object): string {const state = toState(stateOrGetState);const locationURL= state instanceof URL? state: state['features/base/connection'].locationURL;- return locationURL ? getURLWithoutParams(locationURL).href : undefined;+ return getURLWithoutParams(locationURL).href;}/**diff --git a/react/features/base/connection/index.js b/react/features/base/connection/index.jsindex 03776f5f02..0b115a9d75 100644--- a/react/features/base/connection/index.js+++ b/react/features/base/connection/index.js@@ -1,3 +1,5 @@+// @flow+export * from './actions';export * from './actionTypes';export * from './functions';