mirror of
https://github.com/glitch-soc/mastodon.git
synced 2025-12-17 01:38:46 +00:00
Remove unused from_limited? method from NotifyService (#36988)
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user