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)
|
NotificationPermission.exists?(account: @recipient, from_account: @sender)
|
||||||
end
|
end
|
||||||
|
|
||||||
def from_limited?
|
|
||||||
@sender.silenced? && not_following?
|
|
||||||
end
|
|
||||||
|
|
||||||
def message?
|
def message?
|
||||||
@notification.type == :mention
|
@notification.type == :mention
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user