Mastodon: fix strategy not working for direct or dead links

This commit is contained in:
nonamethanks
2021-03-09 22:27:07 +01:00
parent 0249c290fd
commit a123bf0ee8
3 changed files with 29 additions and 11 deletions

View File

@@ -124,7 +124,6 @@ module Sources::Strategies
end
def api_response
return {} if status_id_from_url.blank?
MastodonApiClient.new(site_name, status_id_from_url)
end
memoize :api_response