This website works better with JavaScript.
Home
Explore
Help
Sign In
closed-social
/
mastodon
Watch
3
Star
0
Fork
2
Code
Issues
5
Pull Requests
0
Projects
0
Releases
3
Wiki
Activity
Browse Source
Add Page AP type support (
#9121
)
pull/4/head
m.b
6 years ago
committed by
Eugen Rochko
parent
9d84d55cf0
commit
2b18f5f85d
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
app/lib/activitypub/activity/create.rb
+ 1
- 1
app/lib/activitypub/activity/create.rb
View File
@ -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'
]
)
Write
Preview
Loading…
Cancel
Save