Add Slack integration

This commit is contained in:
Frederic Guillot
2015-03-28 21:37:53 -04:00
parent f9891a966f
commit 5536f6c6ce
32 changed files with 296 additions and 47 deletions

View File

@@ -41,6 +41,15 @@ class ProjectActivitySubscriber extends Base implements EventSubscriberInterface
$event_name,
$values
);
if ($this->config->get('integration_slack_webhook') == 1) {
$this->slackWebhook->notify(
$values['task']['project_id'],
$values['task']['id'],
$event_name,
$values
);
}
}
}