discourse/app/services/flags
Krzysztof Kotlarek e020888b0a
FIX: flag valid type inclusion should be lambda (#28030)
There is a bug with chat type flags - "An error occurred: Applies to is not included in the list"

Flag.valid_applies_to_types is a set of core types and types registered by plugins `Set.new(DEFAULT_VALID_APPLIES_TO | DiscoursePluginRegistry.flag_applies_to_types)`

Using lamba should ensure that valid values are calculated dynamically.
2024-07-23 11:47:50 +10:00
..
create_flag.rb FIX: flag valid type inclusion should be lambda (#28030) 2024-07-23 11:47:50 +10:00
destroy_flag.rb FEATURE: created edit and delete flags (#27484) 2024-07-03 08:45:37 +10:00
reorder_flag.rb FEATURE: created edit and delete flags (#27484) 2024-07-03 08:45:37 +10:00
toggle_flag.rb FEATURE: created edit and delete flags (#27484) 2024-07-03 08:45:37 +10:00
update_flag.rb FIX: flag valid type inclusion should be lambda (#28030) 2024-07-23 11:47:50 +10:00