Skip to content

Commit

Permalink
Increment total channel messages when posting
Browse files Browse the repository at this point in the history
  • Loading branch information
jwilander committed Feb 14, 2017
1 parent 4045c5d commit b35174d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions webapp/stores/channel_store.jsx
Expand Up @@ -464,6 +464,10 @@ ChannelStore.dispatchToken = AppDispatcher.register((payload) => {
}
break;

case ActionTypes.CREATE_POST:
ChannelStore.incrementMessages(action.post.channel_id);
break;

default:
break;
}
Expand Down

0 comments on commit b35174d

Please sign in to comment.