Merge pull request #4767 from nonamethanks/pixiv-other-names

Pixiv: don't add auto-generated usernames to the other names field
This commit is contained in:
evazion
2021-03-18 21:29:21 -05:00
committed by GitHub
2 changed files with 8 additions and 1 deletions

View File

@@ -162,7 +162,9 @@ module Sources
end
def other_names
[artist_name, moniker].compact.uniq
other_names = [artist_name]
other_names << moniker unless moniker&.starts_with?("user_")
other_names.compact.uniq
end
def artist_commentary_title