Refactor domain block checks (#11268)

This commit is contained in:
Eugen Rochko
2019-07-09 03:27:35 +02:00
committed by GitHub
parent 1e7187f2a8
commit 4e92183227
11 changed files with 108 additions and 51 deletions

View File

@ -5,6 +5,7 @@ class ActivityPub::ProcessPollService < BaseService
def call(poll, json)
@json = json
return unless expected_type?
previous_expires_at = poll.expires_at