diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2020-04-15 20:33:24 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-15 20:33:24 +0200 |
commit | 5edff32733eff2cbffbf614b31eea85da8dc3aaf (patch) | |
tree | b0ab38cbf8793f47017e2151de5dd32bdd83a29a /app/models/account.rb | |
parent | 5524258da9bc1d62b1396d19c672d3a8335ffbc5 (diff) |
Change delivery failure tracking to work with hostnames instead of URLs (#13437)
Diffstat (limited to 'app/models/account.rb')
-rw-r--r-- | app/models/account.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/account.rb b/app/models/account.rb index 6aceb809c..dc14e8538 100644 --- a/app/models/account.rb +++ b/app/models/account.rb @@ -413,7 +413,7 @@ class Account < ApplicationRecord def inboxes urls = reorder(nil).where(protocol: :activitypub).pluck(Arel.sql("distinct coalesce(nullif(accounts.shared_inbox_url, ''), accounts.inbox_url)")) - DeliveryFailureTracker.filter(urls) + DeliveryFailureTracker.without_unavailable(urls) end def search_for(terms, limit = 10, offset = 0) |