Fix #3561: Tumblr: support answer posts.

This commit is contained in:
evazion
2018-02-24 10:31:59 -06:00
parent 916a57b2fd
commit 3fefb73e90
2 changed files with 23 additions and 2 deletions

View File

@@ -35,6 +35,8 @@ module Sources::Strategies
case post[:type]
when "text", "link"
post[:title]
when "answer"
post[:question]
else
nil
end
@@ -48,6 +50,8 @@ module Sources::Strategies
post[:description]
when "photo", "video"
post[:caption]
when "answer"
post[:answer]
else
nil
end