diff options
author | Girish S <girish.sonawane@gmail.com> | 2015-10-30 12:56:50 +0530 |
---|---|---|
committer | Girish S <girish.sonawane@gmail.com> | 2015-10-30 12:56:50 +0530 |
commit | d6f0f70798000cdd673b21eb95893a3129d8c6d5 (patch) | |
tree | ce867dc1e60b74dc5903ac6af0832b5493838406 /web/react | |
parent | 8cf5687e8af4d2f72ccc0bd15fde612738f9141a (diff) | |
download | chat-d6f0f70798000cdd673b21eb95893a3129d8c6d5.tar.gz chat-d6f0f70798000cdd673b21eb95893a3129d8c6d5.tar.bz2 chat-d6f0f70798000cdd673b21eb95893a3129d8c6d5.zip |
display webhook notifications to the creator of webhook
Diffstat (limited to 'web/react')
-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 4d69a6716..bccadd405 100644 --- a/web/react/stores/socket_store.jsx +++ b/web/react/stores/socket_store.jsx @@ -165,7 +165,7 @@ function handleNewPostEvent(msg) { } // Send desktop notification - if (UserStore.getCurrentId() !== msg.user_id) { + if (UserStore.getCurrentId() !== msg.user_id || post.props.from_webhook === 'true') { const msgProps = msg.props; let mentions = []; |