summaryrefslogtreecommitdiff
path: root/lib/activity.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/activity.php')
-rw-r--r--lib/activity.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/activity.php b/lib/activity.php
index 3689dac38..d91e04260 100644
--- a/lib/activity.php
+++ b/lib/activity.php
@@ -476,6 +476,9 @@ class ActivityObject
return $object;
}
+ /**
+ * @fixme missing avatar, bio info, etc
+ */
static function fromProfile($profile)
{
$object = new ActivityObject();
@@ -495,6 +498,9 @@ class ActivityObject
return $object;
}
+ /**
+ * @fixme missing avatar, bio info, etc
+ */
function asString($tag='activity:object')
{
$xs = new XMLStringer(true);