Remove spam check and dependency on nilsimsa gem (#16011)
This commit is contained in:
parent
7183d9a113
commit
619fad6cf8
13 changed files with 0 additions and 429 deletions
|
@ -88,7 +88,6 @@ class ActivityPub::Activity::Create < ActivityPub::Activity
|
|||
|
||||
resolve_thread(@status)
|
||||
fetch_replies(@status)
|
||||
check_for_spam
|
||||
distribute(@status)
|
||||
forward_for_reply
|
||||
end
|
||||
|
@ -492,10 +491,6 @@ class ActivityPub::Activity::Create < ActivityPub::Activity
|
|||
Tombstone.exists?(uri: object_uri)
|
||||
end
|
||||
|
||||
def check_for_spam
|
||||
SpamCheck.perform(@status)
|
||||
end
|
||||
|
||||
def forward_for_reply
|
||||
return unless @status.distributable? && @json['signature'].present? && reply_to_local?
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue