215feb642d
This change monkey patches the HipChat client to use the GitLab HTTParty connection adapter, which can block access to certain hosts. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/51142
14 lines
342 B
Ruby
14 lines
342 B
Ruby
# This monkey patches the HTTParty used in https://github.com/hipchat/hipchat-rb.
|
|
module HipChat
|
|
class Client
|
|
connection_adapter ::Gitlab::ProxyHTTPConnectionAdapter
|
|
end
|
|
|
|
class Room
|
|
connection_adapter ::Gitlab::ProxyHTTPConnectionAdapter
|
|
end
|
|
|
|
class User
|
|
connection_adapter ::Gitlab::ProxyHTTPConnectionAdapter
|
|
end
|
|
end
|