diff --git a/app/logical/sources/strategies/moebooru.rb b/app/logical/sources/strategies/moebooru.rb index 5783aa3aa..028629b5b 100644 --- a/app/logical/sources/strategies/moebooru.rb +++ b/app/logical/sources/strategies/moebooru.rb @@ -81,6 +81,11 @@ module Sources end end + # XXX the base strategy excludes artist tags from the translated tags; we don't want that for moebooru. + def translated_tags + tags.map(&:first).flat_map(&method(:translate_tag)).uniq.sort + end + def headers { "Referer" => "http://#{site_name}" } end