Permalink
Browse files

Targets should act as an override for the GITLAB_CHANNEL, appending t…

…argets to GITLAB_CHANNEL seems odd. Plus the default value of #gitlab mucks things up with HipChat.
  • Loading branch information...
1 parent 3a2a070 commit 74d4698f04c520ba7ec0002e8d2b2244a5f2ad91 Peter Motykowski committed Feb 9, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/scripts/gitlab.coffee
@@ -54,7 +54,7 @@ module.exports = (robot) ->
console.log('hook', hook)
user = {}
- user.room = if query.targets then gitlabChannel + ',' + query.targets else gitlabChannel
+ user.room = if query.targets then query.targets else gitlabChannel
user.type = query.type if query.type
switch type

0 comments on commit 74d4698

Please sign in to comment.