publish: add contactreducer

This commit is contained in:
Matilde Park 2020-06-09 16:05:30 -04:00
parent 5481deae30
commit da0d149828

View File

@ -1,5 +1,6 @@
import BaseStore from './base';
import ContactReducer from '../reducers/contact-update';
import GroupReducer from '../reducers/group-update';
import PublishReducer from '../reducers/publish-update';
import InviteReducer from '../reducers/invite-update';
@ -11,6 +12,7 @@ export default class PublishStore extends BaseStore {
constructor() {
super();
this.contactReducer = new ContactReducer();
this.groupReducer = new GroupReducer();
this.publishReducer = new PublishReducer();
this.inviteReducer = new InviteReducer();
@ -34,6 +36,7 @@ export default class PublishStore extends BaseStore {
}
reduce(data, state) {
this.contactReducer.reduce(data, this.state);
this.groupReducer.reduce(data, this.state);
this.publishReducer.reduce(data, this.state);
this.permissionReducer.reduce(data, this.state);