summaryrefslogtreecommitdiff
path: root/scripts/importtwitteratom.php
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/importtwitteratom.php')
-rw-r--r--scripts/importtwitteratom.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/importtwitteratom.php b/scripts/importtwitteratom.php
index 7316f2108..c12e3b91a 100644
--- a/scripts/importtwitteratom.php
+++ b/scripts/importtwitteratom.php
@@ -102,7 +102,7 @@ function importActivityStream($user, $doc)
for ($i = $entries->length - 1; $i >= 0; $i--) {
$entry = $entries->item($i);
$activity = new Activity($entry, $feed);
- $object = $activity->object;
+ $object = $activity->objects[0];
if (!have_option('q', 'quiet')) {
print $activity->content . "\n";
}