Skip to content

Commit

Permalink
Merge pull request #359 from rztuc/fix-357-logic-issue
Browse files Browse the repository at this point in the history
fix handling of deprecated parameters, invert logic
  • Loading branch information
Davka authored Jun 28, 2023
2 parents 299fb20 + 2b8d40e commit 5af1598
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ bbb_allow_reveal_of_bbb_version: false
bbb_disabled_features: []

# the following variables are to ensure backwards compatibility with the deprecated feature flags
bbb_disabled_features_deprecated: "{{ (['learningDashboard'] if bbb_learning_dashboard_enabled else []) + (['breakoutRooms'] if bbb_breakout_rooms_enabled else []) }}"
bbb_disabled_features_deprecated: "{{ ([] if bbb_learning_dashboard_enabled else ['learningDashboard']) + ([] if bbb_breakout_rooms_enabled else ['breakoutRooms']) }}"
bbb_disabled_features_combined: "{{ bbb_disabled_features | union(bbb_disabled_features_deprecated) }}"

bbb_use_default_logo: false
Expand Down

0 comments on commit 5af1598

Please sign in to comment.