Merge branch 'master' into nightly

Some merge requests that were aimed at master
This commit is contained in:
Mikael Nordfeldth
2015-11-05 16:07:05 +01:00
6 changed files with 13 additions and 10 deletions

View File

@@ -828,11 +828,13 @@ class Ostatus_profile extends Managed_DataObject
}
}
$obj = ActivityUtils::getFeedAuthor($feedEl);
// @todo FIXME: We should check whether this feed has elements
// with different <author> or <dc:creator> elements, and... I dunno.
// Do something about that.
$obj = ActivityObject::fromRssChannel($feedEl);
if(empty($obj)) { $obj = ActivityObject::fromRssChannel($feedEl); }
return self::ensureActivityObjectProfile($obj, $hints);
}