Merge pull request #1238 from girishso/webhook-creator-notifs

display webhook notifications to the creator of webhook
Этот коммит содержится в:
Corey Hulen
2015-10-30 08:48:51 -07:00
родитель 3d54abd3a0 d6f0f70798
Коммит 81c8d5dac6

Просмотреть файл

@@ -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 = [];