diff options
author | Florian Orben <florian.orben@gmail.com> | 2015-12-04 02:07:47 +0100 |
---|---|---|
committer | Florian Orben <florian.orben@gmail.com> | 2015-12-04 02:07:47 +0100 |
commit | 14d1ec5191867174837e15f616ad3fc1dc8e0dae (patch) | |
tree | cc74c752199a42b3e273570586eb5abd3bc41581 /web/react/stores | |
parent | d5d66214db6c108eb94cf2e43c0c4538cdb5d7ae (diff) | |
download | chat-14d1ec5191867174837e15f616ad3fc1dc8e0dae.tar.gz chat-14d1ec5191867174837e15f616ad3fc1dc8e0dae.tar.bz2 chat-14d1ec5191867174837e15f616ad3fc1dc8e0dae.zip |
PLT-1326: Enable channel posts of type join or leave not trigger unread notifications
Diffstat (limited to 'web/react/stores')
-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 2e0769cc4..29aa32a08 100644 --- a/web/react/stores/socket_store.jsx +++ b/web/react/stores/socket_store.jsx @@ -163,7 +163,7 @@ function handleNewPostEvent(msg) { } // Send desktop notification - if (UserStore.getCurrentId() !== msg.user_id || post.props.from_webhook === 'true') { + if ((UserStore.getCurrentId() !== msg.user_id || post.props.from_webhook === 'true') && !Utils.isSystemMessage(post)) { const msgProps = msg.props; let mentions = []; |