feat: lobby feature

The lobby feature adds the possibility to lock a meeting and only allow people in after virtually knocking and going through formal approval
This commit is contained in:
Bettenbuk Zoltan
2020-04-15 15:13:43 +02:00
committed by Zoltan Bettenbuk
parent 338c960215
commit 475a2ae596
56 changed files with 2399 additions and 47 deletions

View File

@@ -119,7 +119,7 @@ export function connect(id: ?string, password: ?string) {
*/
function _onConnectionDisconnected(message: string) {
unsubscribe();
dispatch(_connectionDisconnected(connection, message));
dispatch(connectionDisconnected(connection, message));
}
/**
@@ -195,7 +195,7 @@ export function connect(id: ?string, password: ?string) {
* message: string
* }}
*/
function _connectionDisconnected(connection: Object, message: string) {
export function connectionDisconnected(connection: Object, message: string) {
return {
type: CONNECTION_DISCONNECTED,
connection,

View File

@@ -9,6 +9,7 @@ import { configureInitialDevices } from '../devices';
import { getBackendSafeRoomName } from '../util';
export {
connectionDisconnected,
connectionEstablished,
connectionFailed,
setLocationURL