diff options
author | Corey Hulen <corey@hulen.com> | 2015-10-30 08:48:51 -0700 |
---|---|---|
committer | Corey Hulen <corey@hulen.com> | 2015-10-30 08:48:51 -0700 |
commit | 81c8d5dac69446008d8ee0e8cc79071b92c5a045 (patch) | |
tree | 4c6e684ca8508ee4a5c08e3a17b9b3be6509593c /web/react/stores/socket_store.jsx | |
parent | 3d54abd3a09d2035ed6f0a019e32edacb3cb9bfd (diff) | |
parent | d6f0f70798000cdd673b21eb95893a3129d8c6d5 (diff) | |
download | chat-81c8d5dac69446008d8ee0e8cc79071b92c5a045.tar.gz chat-81c8d5dac69446008d8ee0e8cc79071b92c5a045.tar.bz2 chat-81c8d5dac69446008d8ee0e8cc79071b92c5a045.zip |
Merge pull request #1238 from girishso/webhook-creator-notifs
display webhook notifications to the creator of webhook
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 1cdd390db..4efeb7c8f 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 = []; |