mirror of
https://gitcode.com/GitHub_Trending/ji/jitsi-meet.git
synced 2026-05-17 22:17:46 +00:00
* Button conditionally shown based on if the feature is enabled and available * Hooks for launching the invite UI (delegates to the native layer) * Hooks for using the search and dial out checks from the native layer (calls back into JS) * Hooks for handling sending invites and passing any failures back to the native layer * Android and iOS handling for those hooks Author: Ryan Peck <rpeck@atlassian.com> Author: Eric Brynsvold <ebrynsvold@atlassian.com>
15 lines
406 B
JavaScript
15 lines
406 B
JavaScript
import { assign, ReducerRegistry } from '../../base/redux';
|
|
|
|
import { _SET_INVITE_SEARCH_SUBSCRIPTIONS } from './actionTypes';
|
|
|
|
ReducerRegistry.register(
|
|
'features/invite-search',
|
|
(state = {}, action) => {
|
|
switch (action.type) {
|
|
case _SET_INVITE_SEARCH_SUBSCRIPTIONS:
|
|
return assign(state, 'subscriptions', action.subscriptions);
|
|
}
|
|
|
|
return state;
|
|
});
|