diff options
Diffstat (limited to 'app/services/activitypub/process_poll_service.rb')
-rw-r--r-- | app/services/activitypub/process_poll_service.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/services/activitypub/process_poll_service.rb b/app/services/activitypub/process_poll_service.rb index 61357abd3..2fbce65b9 100644 --- a/app/services/activitypub/process_poll_service.rb +++ b/app/services/activitypub/process_poll_service.rb @@ -5,6 +5,7 @@ class ActivityPub::ProcessPollService < BaseService def call(poll, json) @json = json + return unless expected_type? previous_expires_at = poll.expires_at |