publish: add contactreducer
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);
