diff options
author | ThibG <thib@sitedethib.com> | 2018-10-29 21:29:15 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-29 21:29:15 +0100 |
commit | 88659eda241d3e22acb33db151ea33c13e37911e (patch) | |
tree | fb6c4ec71e36bcc956c4d43c1257b4b73ab8b111 /app/lib | |
parent | 7f22ed0fc912ffbd94e0df4e0d40750dae542b97 (diff) | |
parent | ee5132a00eee3b984e1448d9ec2c352633a51db4 (diff) |
Merge pull request #798 from ThibG/glitch-soc/merge-upstream
Merge upstream changes
Diffstat (limited to 'app/lib')
-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']) |