diff options
author | multiple creatures <dev@multiple-creature.party> | 2019-07-24 21:36:13 -0500 |
---|---|---|
committer | multiple creatures <dev@multiple-creature.party> | 2019-07-24 21:36:13 -0500 |
commit | 234fae09ad2e789a478858362320e6a3f73b960f (patch) | |
tree | 488fb6c6375ce5446a43dc234d1cb6aee973335d /app | |
parent | bf27f256c53a7843aa6393a2d2dcb114a48bbe8b (diff) |
don't include `reject_payload!` auto-rejections in logger because that leaks objects sent to the server that weren't supposed to be
Diffstat (limited to 'app')
-rw-r--r-- | app/lib/activitypub/activity.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/app/lib/activitypub/activity.rb b/app/lib/activitypub/activity.rb index 11775c84b..fee8fcd25 100644 --- a/app/lib/activitypub/activity.rb +++ b/app/lib/activitypub/activity.rb @@ -184,7 +184,6 @@ class ActivityPub::Activity def reject_payload! Rails.logger.info("Rejected #{@json['type']} activity #{@json['id']} from #{@account.uri}#{@options[:relayed_through_account] && "via #{@options[:relayed_through_account].uri}"}") - LogWorker.perform_async("\xf0\x9f\x9a\xab Auto-rejected an incoming '#{@json['type']}#{@object && " #{@object['type']}".rstrip}' from #{@json['id']}#{@options[:relayed_through_account] && " via #{@options[:relayed_through_account].uri}"} because the object could not be validated.") nil end end |