0
0
Fork 0

Fix #5059 - Stop processing payload if it's from local account (#5100)

This commit is contained in:
Eugen Rochko 2017-09-26 01:06:13 +02:00 committed by GitHub
parent 91e5b0dfdb
commit cf7fbf2c56
3 changed files with 5 additions and 3 deletions

View file

@ -9,7 +9,7 @@ class ActivityPub::ProcessCollectionService < BaseService
return unless supported_context?
return if different_actor? && verify_account!.nil?
return if @account.suspended?
return if @account.suspended? || @account.local?
case @json['type']
when 'Collection', 'CollectionPage'