Remove unused Account::Interactions#endorsed? method (#29463)

This commit is contained in:
Matt Jankowski 2024-03-15 05:00:26 -04:00 committed by GitHub
parent d39d625561
commit 838b0bdf2d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -242,10 +242,6 @@ module Account::Interactions
status_pins.exists?(status: status)
end
def endorsed?(account)
account_pins.exists?(target_account: account)
end
def status_matches_filters(status)
active_filters = CustomFilter.cached_filters_for(id)
CustomFilter.apply_cached_filters(active_filters, status)