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
reorder_flag.rb
toggle_flag.rb
update_flag.rb FIX: flag valid type inclusion should be lambda (#28030) 2024-07-23 11:47:50 +10:00