Rocket.Chat.ReactNative/app/sagas/index.js

36 lines
798 B
JavaScript

import { all } from 'redux-saga/effects';
import login from './login';
import rooms from './rooms';
import room from './room';
import messages from './messages';
import selectServer from './selectServer';
import createChannel from './createChannel';
import init from './init';
import state from './state';
import deepLinking from './deepLinking';
import inviteLinks from './inviteLinks';
import createDiscussion from './createDiscussion';
import encryption from './encryption';
import inquiry from '../ee/omnichannel/sagas/inquiry';
const root = function* root() {
yield all([
init(),
createChannel(),
rooms(),
room(),
login(),
messages(),
selectServer(),
state(),
deepLinking(),
inviteLinks(),
createDiscussion(),
inquiry(),
encryption()
]);
};
export default root;