Added env variable to exclude recording formats from public recordings (#2055)

This commit is contained in:
Ahmad Farhat
2020-09-03 10:55:24 -04:00
committed by GitHub
parent 3de60daf85
commit 99c7262971
2 changed files with 7 additions and 1 deletions

View File

@ -54,4 +54,9 @@ module RoomsHelper
false
end
end
# Array of recording formats not to show for public recordings
def hidden_format_public
ENV.fetch("HIDDEN_FORMATS_PUBLIC", "").split(",")
end
end