We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit 5b0b6097 authored by Zach Copley's avatar Zach Copley

Fix reference. Look at the first ActivityObject in the list.

parent b8e97ac7
......@@ -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:
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment