diff options
author | JoramWilander <jwawilander@gmail.com> | 2015-10-23 11:22:08 -0400 |
---|---|---|
committer | JoramWilander <jwawilander@gmail.com> | 2015-10-23 11:22:08 -0400 |
commit | fe82c43eeb403ee2ef3ce2932f64bf00c784a65d (patch) | |
tree | 9446b802e63ad247d195df85a83628505627528a /web/react/stores/socket_store.jsx | |
parent | 6724ef4314efbd82e9b608b53679444d60c4ba08 (diff) | |
download | chat-fe82c43eeb403ee2ef3ce2932f64bf00c784a65d.tar.gz chat-fe82c43eeb403ee2ef3ce2932f64bf00c784a65d.tar.bz2 chat-fe82c43eeb403ee2ef3ce2932f64bf00c784a65d.zip |
Force updating last viewed at for new posts
Diffstat (limited to 'web/react/stores/socket_store.jsx')
-rw-r--r-- | web/react/stores/socket_store.jsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/react/stores/socket_store.jsx b/web/react/stores/socket_store.jsx index 8c3489001..9410c1e9c 100644 --- a/web/react/stores/socket_store.jsx +++ b/web/react/stores/socket_store.jsx @@ -158,7 +158,7 @@ function handleNewPostEvent(msg) { // Update channel state if (ChannelStore.getCurrentId() === msg.channel_id) { if (window.isActive) { - AsyncClient.updateLastViewedAt(); + AsyncClient.updateLastViewedAt(true); } } else { AsyncClient.getChannel(msg.channel_id); |