RSS feed items did not get a type assigned
This commit is contained in:
parent
8594a2ba16
commit
0193c7548f
|
@ -274,6 +274,10 @@ class ActivityObject
|
|||
// @todo FIXME: rationalize with Activity::_fromRssItem()
|
||||
private function _fromRssItem($item)
|
||||
{
|
||||
if (empty($this->type)) {
|
||||
$this->type = ActivityObject::NOTE;
|
||||
}
|
||||
|
||||
$this->title = ActivityUtils::childContent($item, ActivityObject::TITLE, Activity::RSS);
|
||||
|
||||
$contentEl = ActivityUtils::child($item, ActivityUtils::CONTENT, Activity::CONTENTNS);
|
||||
|
|
Loading…
Reference in New Issue
Block a user