Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'lib/gitlab/chat/command.rb')
-rw-r--r--lib/gitlab/chat/command.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/gitlab/chat/command.rb b/lib/gitlab/chat/command.rb
index 0add53f8174..9370c594ce1 100644
--- a/lib/gitlab/chat/command.rb
+++ b/lib/gitlab/chat/command.rb
@@ -66,7 +66,8 @@ module Gitlab
def build_environment_variables(pipeline)
pipeline.variables.build(
[{ key: 'CHAT_INPUT', value: arguments },
- { key: 'CHAT_CHANNEL', value: channel }]
+ { key: 'CHAT_CHANNEL', value: channel },
+ { key: 'CHAT_USER_ID', value: chat_name.chat_id }]
)
end