1
0
Fork 0
forked from gitea/nas

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

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

View file

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