mirror of
https://github.com/mastodon/mastodon.git
synced 2025-11-29 02:50:46 +00:00
Remove unused from_limited? method from NotifyService
The logic is now in the `blocked_by_limited_accounts_policy?` method further down the class.
Removed/converted in: cbdd8edf68 (diff-841aa2874fa08161a391e0286d725290ecd9b5967778b69802ff140066f2c655R168-R170)
This commit is contained in:
parent
585545d0d5
commit
8338cd3b49
|
|
@ -61,10 +61,6 @@ class NotifyService < BaseService
|
|||
NotificationPermission.exists?(account: @recipient, from_account: @sender)
|
||||
end
|
||||
|
||||
def from_limited?
|
||||
@sender.silenced? && not_following?
|
||||
end
|
||||
|
||||
def message?
|
||||
@notification.type == :mention
|
||||
end
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user