Browse Source

Fix undesired delivering of private toot to remote accounts that follow author

closed-social-glitch-2
Eugen Rochko 7 years ago
parent
commit
251b04298e
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/services/process_mentions_service.rb

+ 1
- 1
app/services/process_mentions_service.rb View File

@ -28,7 +28,7 @@ class ProcessMentionsService < BaseService
status.mentions.each do |mention|
mentioned_account = mention.account
next if status.private_visibility? && !mentioned_account.following?(status.account)
next if status.private_visibility? && (!mentioned_account.following?(status.account) || !mentioned_account.local?)
if mentioned_account.local?
NotifyService.new.call(mentioned_account, mention)

Loading…
Cancel
Save