diff --git a/plugins/OStatus/classes/Ostatus_profile.php b/plugins/OStatus/classes/Ostatus_profile.php index 1c4428b16d..da7a4b4244 100644 --- a/plugins/OStatus/classes/Ostatus_profile.php +++ b/plugins/OStatus/classes/Ostatus_profile.php @@ -1003,11 +1003,13 @@ class Ostatus_profile extends Managed_DataObject } } + $obj = ActivityUtils::getFeedAuthor($feedEl); + // @todo FIXME: We should check whether this feed has elements // with different or elements, and... I dunno. // Do something about that. - $obj = ActivityObject::fromRssChannel($feedEl); + if(empty($obj)) { $obj = ActivityObject::fromRssChannel($feedEl); } return self::ensureActivityObjectProfile($obj, $hints); }