forked from GNUsocial/gnu-social
Fix reference. Look at the first ActivityObject in the list.
This commit is contained in:
parent
b8e97ac709
commit
5b0b6097e0
@ -442,7 +442,8 @@ class Ostatus_profile extends Memcached_DataObject
|
||||
{
|
||||
$activity = new Activity($entry, $feed);
|
||||
|
||||
switch ($activity->object->type) {
|
||||
// @todo process all activity objects
|
||||
switch ($activity->objects[0]->type) {
|
||||
case ActivityObject::ARTICLE:
|
||||
case ActivityObject::BLOGENTRY:
|
||||
case ActivityObject::NOTE:
|
||||
|
Loading…
Reference in New Issue
Block a user