aboutsummaryrefslogtreecommitdiffstats
path: root/include/conversation.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/conversation.php')
-rw-r--r--include/conversation.php13
1 files changed, 13 insertions, 0 deletions
diff --git a/include/conversation.php b/include/conversation.php
index 0b841aa77..e12aa1fbc 100644
--- a/include/conversation.php
+++ b/include/conversation.php
@@ -125,6 +125,19 @@ function localize_item(&$item){
$Bphoto = get_rel_link($obj['link'],'photo');
}
break;
+ case ACTIVITY_OBJ_THING:
+ $post_type = $obj['title'];
+ $author_name = (($obj['owner'] && $obj['owner']['name']) ? $obj['owner']['name'] : '');
+ if($obj['owner'] && $obj['owner']['link'])
+ $author_link = get_rel_link($obj['owner']['link'],'alternate');
+ else
+ $author_link = '';
+
+ if($obj['link']) {
+ $Bphoto = get_rel_link($obj['link'],'photo');
+ }
+ break;
+
case ACTIVITY_OBJ_NOTE:
default:
$post_type = t('status');