debian-mirror-gitlab/lib/gitlab/chat.rb
2022-07-16 19:58:13 +02:00

11 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