mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-04 09:16:52 +08:00
### Description This PR fixes an issue where the :topic_closed DiscourseEvent only fired when topics were closed manually, preventing automations from responding to automatically closed topics. The event now fires for both manual and automatic closures. The auto_tag_topic automation script has been enhanced to take advantage of this change by adding two new optional boolean fields (closed_automatically and closed_manually) that allow users to configure whether tags should be applied based on how the topic was closed. |
||
|---|---|---|
| .. | ||
| discourse_automation | ||
| scriptable_spec.rb | ||
| triggerable_spec.rb | ||