diff options
author | Joram Wilander <jwawilander@gmail.com> | 2017-02-14 11:38:07 -0500 |
---|---|---|
committer | Corey Hulen <corey@hulen.com> | 2017-02-14 11:38:07 -0500 |
commit | 247ac8d1cca1072a9b808b0e91912257e06a5d0f (patch) | |
tree | a734099586746a606fa0ad9981b7ee2a37d23299 /webapp | |
parent | 28aa7cdbf2357bda51ba740fd4d7af48b36b96b4 (diff) | |
download | chat-247ac8d1cca1072a9b808b0e91912257e06a5d0f.tar.gz chat-247ac8d1cca1072a9b808b0e91912257e06a5d0f.tar.bz2 chat-247ac8d1cca1072a9b808b0e91912257e06a5d0f.zip |
Increment channel counts for own messages (#5399)
Diffstat (limited to 'webapp')
-rw-r--r-- | webapp/stores/channel_store.jsx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/webapp/stores/channel_store.jsx b/webapp/stores/channel_store.jsx index aacc23305..b82be650e 100644 --- a/webapp/stores/channel_store.jsx +++ b/webapp/stores/channel_store.jsx @@ -516,6 +516,10 @@ ChannelStore.dispatchToken = AppDispatcher.register((payload) => { } break; + case ActionTypes.CREATE_POST: + ChannelStore.incrementMessages(action.post.channel_id); + break; + default: break; } |