diff options
author | m.b <mbajur@users.noreply.github.com> | 2018-10-29 13:23:29 +0100 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2018-10-29 13:23:29 +0100 |
commit | 2b18f5f85dfd3f67dea35819cd7fbe4aa946dfb1 (patch) | |
tree | 9327a056638cbd784f98f448af86bb6b6f0b665f /app/lib/activitypub/activity | |
parent | 9d84d55cf095d7d04c79eb659634d4db2f47c1b0 (diff) |
Add Page AP type support (#9121)
Diffstat (limited to 'app/lib/activitypub/activity')
-rw-r--r-- | app/lib/activitypub/activity/create.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/lib/activitypub/activity/create.rb b/app/lib/activitypub/activity/create.rb index f1b38b18a..baa05e14c 100644 --- a/app/lib/activitypub/activity/create.rb +++ b/app/lib/activitypub/activity/create.rb @@ -2,7 +2,7 @@ class ActivityPub::Activity::Create < ActivityPub::Activity SUPPORTED_TYPES = %w(Note).freeze - CONVERTED_TYPES = %w(Image Video Article).freeze + CONVERTED_TYPES = %w(Image Video Article Page).freeze def perform return if delete_arrived_first?(object_uri) || unsupported_object_type? || invalid_origin?(@object['id']) |