gitlab-org--gitlab-foss/lib/gitlab/chat.rb

10 lines
207 B
Ruby

# frozen_string_literal: true
module Gitlab
module Chat
# Returns `true` if Chatops is available for the current instance.
def self.available?
::Feature.enabled?(:chatops)
end
end
end