forked from External/greenlight
Hide recording table when disabled through room config (#1988)
This commit is contained in:
@ -124,4 +124,10 @@ module ApplicationHelper
|
||||
content_for(:page_title) { page_title } if content_for(:page_title).blank?
|
||||
page_title
|
||||
end
|
||||
|
||||
# Indicates whether the recording tables should be hidden
|
||||
def hide_recording_tables
|
||||
return false unless recording_consent_required?
|
||||
@settings.get_value("Room Configuration Recording") == "disabled"
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user