debian-mirror-gitlab/lib/gitlab/chat.rb
2019-05-18 00:54:41 +05:30

10 lines
230 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, default_enabled: true)
end
end
end