display webhook notifications to the creator of webhook

Этот коммит содержится в:
Girish S
2015-10-30 12:56:50 +05:30
родитель 8cf5687e8a
Коммит d6f0f70798

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

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