summaryrefslogtreecommitdiffstats
path: root/web/react/stores/socket_store.jsx
diff options
context:
space:
mode:
author=Corey Hulen <corey@hulen.com>2015-10-25 22:42:38 -0700
committer=Corey Hulen <corey@hulen.com>2015-10-25 22:42:38 -0700
commit70b5918734d996a2b5b3710c2ed519f77f4764d4 (patch)
tree12aac9f88de68cb79404a3985e6bfe774ad8f066 /web/react/stores/socket_store.jsx
parent473221dbada7ad7739d6a969d9d3d5c9c276941b (diff)
parentae2898107d275176126ab07ca1886fd7fd7ddad4 (diff)
downloadchat-70b5918734d996a2b5b3710c2ed519f77f4764d4.tar.gz
chat-70b5918734d996a2b5b3710c2ed519f77f4764d4.tar.bz2
chat-70b5918734d996a2b5b3710c2ed519f77f4764d4.zip
Merge branch 'master' into PLT-25
Diffstat (limited to 'web/react/stores/socket_store.jsx')
-rw-r--r--web/react/stores/socket_store.jsx2
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);