Remove: #454 リンクプレビューを生成する設定の削除、無効化 (LTS) (#459)

This commit is contained in:
KMY(雪あすか) 2024-01-15 12:27:29 +09:00 committed by GitHub
parent ad7f23556b
commit 33f254be42
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 1 additions and 20 deletions

View file

@ -20,7 +20,7 @@ class FetchLinkCardService < BaseService
@status = status
@original_url = parse_urls
return if @original_url.nil? || @status.preview_cards.any? || !@status.account.link_preview?
return if @original_url.nil? || @status.preview_cards.any?
@url = @original_url.to_s