mirror of
https://github.com/discourse/discourse.git
synced 2025-02-21 00:43:54 +08:00

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.