debian-mirror-gitlab/lib/gitlab/chat.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
207 B
Ruby
Raw Normal View History

2019-05-18 00:54:41 +05:30
# frozen_string_literal: true
module Gitlab
module Chat
# Returns `true` if Chatops is available for the current instance.
def self.available?
2022-07-16 23:28:13 +05:30
::Feature.enabled?(:chatops)
2019-05-18 00:54:41 +05:30
end
end
end