From 8338cd3b496a6a90182db847c9ed787f1016f2f8 Mon Sep 17 00:00:00 2001 From: Matt Jankowski Date: Sat, 22 Nov 2025 14:38:10 -0500 Subject: [PATCH] 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: https://github.com/mastodon/mastodon/commit/cbdd8edf68321b384d871855cd73b717ca394de2#diff-841aa2874fa08161a391e0286d725290ecd9b5967778b69802ff140066f2c655R168-R170 --- app/services/notify_service.rb | 4 ---- 1 file changed, 4 deletions(-) diff --git a/app/services/notify_service.rb b/app/services/notify_service.rb index fa2c728e579..8d0986adcb9 100644 --- a/app/services/notify_service.rb +++ b/app/services/notify_service.rb @@ -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