hey, federation works.
This commit is contained in:
parent
177061d1c5
commit
925292a7b2
1 changed files with 7 additions and 0 deletions
|
|
@ -5,6 +5,13 @@
|
||||||
class ActivityStreams::Photo < Post
|
class ActivityStreams::Photo < Post
|
||||||
include Diaspora::Socketable
|
include Diaspora::Socketable
|
||||||
|
|
||||||
|
xml_attr :image_url
|
||||||
|
xml_attr :image_height
|
||||||
|
xml_attr :image_width
|
||||||
|
xml_attr :object_url
|
||||||
|
xml_attr :provider_display_name
|
||||||
|
xml_attr :actor_url
|
||||||
|
|
||||||
validates_presence_of :image_url,
|
validates_presence_of :image_url,
|
||||||
:object_url,
|
:object_url,
|
||||||
:provider_display_name,
|
:provider_display_name,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue