Skip to content

Commit

Permalink
Do not relay bots
Browse files Browse the repository at this point in the history
  • Loading branch information
noellabo committed Jul 16, 2018
1 parent 46a8971 commit 60d0a6d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/services/remove_status_service.rb
Expand Up @@ -96,7 +96,7 @@ def remove_from_remote_followers
end

def relayable?
@status.public_visibility?
@status.public_visibility? && !@account.bot?
end

def relay!
Expand Down
2 changes: 1 addition & 1 deletion app/workers/activitypub/distribution_worker.rb
Expand Up @@ -27,7 +27,7 @@ def skip_distribution?
end

def relayable?
@status.public_visibility?
@status.public_visibility? && !@account.bot?
end

def inboxes
Expand Down

0 comments on commit 60d0a6d

Please sign in to comment.