]> git.mxchange.org Git - friendica.git/blobdiff - mod/subthread.php
Merge pull request #3033 from annando/1612-object-type
[friendica.git] / mod / subthread.php
index dc014047a0bdf151fc18b1971b7f646734849d91..b15b954742af5a7dc6c749e02988434b218ae53c 100644 (file)
@@ -85,7 +85,7 @@ function subthread_content(&$a) {
        $uri = item_new_uri($a->get_hostname(),$owner_uid);
 
        $post_type = (($item['resource-id']) ? t('photo') : t('status'));
-       $objtype = (($item['resource-id']) ? ACTIVITY_OBJ_PHOTO : ACTIVITY_OBJ_NOTE );
+       $objtype = (($item['resource-id']) ? ACTIVITY_OBJ_IMAGE : ACTIVITY_OBJ_NOTE );
        $link = xmlify('<link rel="alternate" type="text/html" href="' . $a->get_baseurl() . '/display/' . $owner['nickname'] . '/' . $item['id'] . '" />' . "\n") ;
        $body = $item['body'];