aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xboot.php1
-rw-r--r--include/conversation.php13
2 files changed, 14 insertions, 0 deletions
diff --git a/boot.php b/boot.php
index fc02f28e9..aadeb0b29 100755
--- a/boot.php
+++ b/boot.php
@@ -379,6 +379,7 @@ define ( 'ACTIVITY_OBJ_EVENT', NAMESPACE_ACTIVITY_SCHEMA . 'event' );
define ( 'ACTIVITY_OBJ_GROUP', NAMESPACE_ACTIVITY_SCHEMA . 'group' );
define ( 'ACTIVITY_OBJ_TAGTERM', NAMESPACE_ZOT . '/activity/tagterm' );
define ( 'ACTIVITY_OBJ_PROFILE', NAMESPACE_ZOT . '/activity/profile' );
+define ( 'ACTIVITY_OBJ_THING', NAMESPACE_ZOT . '/activity/thing' );
/**
* item weight for query ordering
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');