From d6f0f70798000cdd673b21eb95893a3129d8c6d5 Mon Sep 17 00:00:00 2001 From: Girish S Date: Fri, 30 Oct 2015 12:56:50 +0530 Subject: display webhook notifications to the creator of webhook --- web/react/stores/socket_store.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'web') 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 = []; -- cgit v1.2.3-1-g7c22