]> git.mxchange.org Git - friendica.git/blobdiff - mod/subthread.php
Merge remote-tracking branch 'upstream/develop' into develop
[friendica.git] / mod / subthread.php
index 3d16f8ca9ca4d3a7c12caea768af322ae505ecad..958f4ba03b65bd831689d9cb4e1fba9bfd7c76b9 100644 (file)
@@ -86,7 +86,7 @@ function subthread_content(App &$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="' . App::get_baseurl() . '/display/' . $owner['nickname'] . '/' . $item['id'] . '" />' . "\n") ;
        $body = $item['body'];