Remove stop deliver to bot setting
This commit is contained in:
parent
cfa250421e
commit
9db1fb1153
10 changed files with 63 additions and 4 deletions
|
@ -36,7 +36,7 @@ class FollowService < BaseService
|
|||
# and the feeds are being merged
|
||||
mark_home_feed_as_partial! if @source_account.not_following_anyone?
|
||||
|
||||
if (@target_account.locked? && !@options[:bypass_locked]) || @source_account.silenced? || @target_account.activitypub?
|
||||
if (@target_account.locked? && !@options[:bypass_locked]) || @source_account.silenced? || @target_account.activitypub? || (@source_account.bot? && @target_account.user&.setting_lock_follow_from_bot)
|
||||
request_follow!
|
||||
elsif @target_account.local?
|
||||
direct_follow!
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue