diff options
author | Frederic Guillot <fred@kanboard.net> | 2015-12-29 09:30:36 +0100 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2015-12-29 09:30:36 +0100 |
commit | ded63d21a84811c9e082c0fea0110a1b498265d6 (patch) | |
tree | 2d95b985ef8402ae899ced0307af4e8e3d47e431 /app/Integration/GitlabWebhook.php | |
parent | 9ff0abd8d683ab5a285fcf70e27d1bcd1cbc47df (diff) |
Send notifications on user mentions
Diffstat (limited to 'app/Integration/GitlabWebhook.php')
-rw-r--r-- | app/Integration/GitlabWebhook.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Integration/GitlabWebhook.php b/app/Integration/GitlabWebhook.php index 17b6da70..7ab4cedf 100644 --- a/app/Integration/GitlabWebhook.php +++ b/app/Integration/GitlabWebhook.php @@ -273,7 +273,7 @@ class GitlabWebhook extends \Kanboard\Core\Base if (! empty($task)) { $user = $this->user->getByUsername($payload['user']['username']); - if (! empty($user) && ! $this->projectPermission->isMember($this->project_id, $user['id'])) { + if (! empty($user) && ! $this->projectPermission->isAssignable($this->project_id, $user['id'])) { $user = array(); } |