From: kodai Date: Mon, 31 Dec 2018 14:29:10 +0000 (+0900) Subject: Fix links not being verified (#9673) X-Git-Url: https://git.xn--scling-oua.cat.family/?a=commitdiff_plain;h=6a090db4c9b100be7d7eac60f84e0fa8f36b14c7;p=mastodon.git Fix links not being verified (#9673) Fix #9365 --- diff --git a/app/services/verify_link_service.rb b/app/services/verify_link_service.rb index 9f56249c7..c65578761 100644 --- a/app/services/verify_link_service.rb +++ b/app/services/verify_link_service.rb @@ -10,7 +10,6 @@ class VerifyLinkService < BaseService return unless link_back_present? field.mark_verified! - field.account.save! rescue HTTP::Error, Addressable::URI::InvalidURIError, Mastodon::HostValidationError, Mastodon::LengthValidationError => e Rails.logger.debug "Error fetching link #{@url}: #{e}" nil