Skip to content

Commit

Permalink
Merge pull request #64 from noellabo/feature-do-not-relay-bots
Browse files Browse the repository at this point in the history
Do not relay bots
  • Loading branch information
noellabo committed Jul 16, 2018
2 parents 46a8971 + 60d0a6d commit 84ba276
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 84ba276

Please sign in to comment.