summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorEvan Prodromou <evan@status.net>2010-02-21 17:00:05 -0500
committerEvan Prodromou <evan@status.net>2010-02-21 17:00:05 -0500
commit1c22bf20f1e99664b02d71318592b73e7fb4d4b5 (patch)
tree40e4fddfd508c62d29280433c9f40f3c746c20fb /plugins
parent10f6c023f4573868326c4b6599bdfb66cffdd7d6 (diff)
fixup activity serialization so salmon notifications work
Diffstat (limited to 'plugins')
-rw-r--r--plugins/OStatus/lib/activity.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/OStatus/lib/activity.php b/plugins/OStatus/lib/activity.php
index f25a843c3..af83f8bc6 100644
--- a/plugins/OStatus/lib/activity.php
+++ b/plugins/OStatus/lib/activity.php
@@ -392,7 +392,7 @@ class ActivityObject
if (!empty($this->content)) {
// XXX: assuming HTML content here
- $xs->element(self::CONTENT, array('type' => 'html'), $this->content);
+ $xs->element(ActivityUtils::CONTENT, array('type' => 'html'), $this->content);
}
if (!empty($this->link)) {
@@ -700,7 +700,7 @@ class Activity
// XXX: add context
// XXX: add target
- $xs->raw($this->actor->asString());
+ $xs->raw($this->actor->asString('activity:actor'));
$xs->element('activity:verb', null, $this->verb);
$xs->raw($this->object->asString());