summaryrefslogtreecommitdiff
path: root/plugins/OStatus/actions/groupsalmon.php
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/OStatus/actions/groupsalmon.php')
-rw-r--r--plugins/OStatus/actions/groupsalmon.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/OStatus/actions/groupsalmon.php b/plugins/OStatus/actions/groupsalmon.php
index 29377b5fa..d60725a71 100644
--- a/plugins/OStatus/actions/groupsalmon.php
+++ b/plugins/OStatus/actions/groupsalmon.php
@@ -60,7 +60,8 @@ class GroupsalmonAction extends SalmonAction
function handlePost()
{
- switch ($this->act->object->type) {
+ // @fixme process all objects?
+ switch ($this->act->objects[0]->type) {
case ActivityObject::ARTICLE:
case ActivityObject::BLOGENTRY:
case ActivityObject::NOTE: