Remove unused from_limited? method from NotifyService (#36988)
This commit is contained in:
parent
585545d0d5
commit
f1bf6e6344
@ -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…
x
Reference in New Issue
Block a user