Change: サークルの送り先アカウント指定方法をaccount_username(Fedibirdと同様)に変更 (#283) (LTS) (#308)

* Change: サークルの送り先アカウント指定方法を`account_username`(Fedibirdと同様)に変更 (#283)

* Change: サークルの送り先アカウント指定方法を`account_username`(Fedibirdと同様)に変更

* Test: テストを追加

* Maybe Fix: Fedibirdで自分限定と認識される問題

* Fix test
This commit is contained in:
KMY(雪あすか) 2023-11-28 12:54:03 +09:00 committed by GitHub
parent 203617edaf
commit 8383288219
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 47 additions and 6 deletions

View file

@ -21,6 +21,12 @@ class StatusReachFinder
end
end
def inboxes_for_limited
DeliveryFailureTracker.without_unavailable(
@status.mentioned_accounts.where.not(domain: nil).pluck(:inbox_url).compact.uniq
)
end
private
def reached_account_inboxes