mirror of
https://github.com/discourse/discourse.git
synced 2024-11-30 11:25:07 +08:00
0a1432e1cc
Prior to this fix we could exit early if tags was `[]` as `tags && (tags & post.topic.tags.map(&:name)).empty?` would have returned true. This commit ensures it's not the case anymore and adds a test for it. Co-Authored-By: Martin Brennan <mjrbrennan@gmail.com> |
||
---|---|---|
.. | ||
scripts | ||
triggers | ||
engine.rb | ||
event_handlers.rb | ||
plugin_instance_extension.rb | ||
post_extension.rb | ||
scriptable.rb | ||
scripts.rb | ||
stalled_topic_finder.rb | ||
triggerable.rb | ||
triggers.rb |