Fix webfinger_update_due to run WebFinger on stale activitypub-account (#16182)

This commit is contained in:
Takeshi Umeda 2021-05-08 23:22:18 +09:00 committed by GitHub
parent 68181b9506
commit 9da5e0b350
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -122,7 +122,7 @@ class ResolveAccountService < BaseService
return false if @options[:check_delivery_availability] && !DeliveryFailureTracker.available?(@domain) return false if @options[:check_delivery_availability] && !DeliveryFailureTracker.available?(@domain)
return false if @options[:skip_webfinger] return false if @options[:skip_webfinger]
@account.nil? || (@account.ostatus? && @account.possibly_stale?) @account.nil? || @account.possibly_stale?
end end
def activitypub_ready? def activitypub_ready?