aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-05-22 00:57:56 -0700
committerMario Vavti <mario@mariovavti.com>2017-05-23 21:48:58 +0200
commit3a9e5f0f98d28959ecc73539a56c66ec2ff10016 (patch)
tree0a4ffe63c67c331904c6f97fd8b74f46e8c3266e /Zotlabs
parent50c9aec43652726b17e0fee3b555fb1344f38dbd (diff)
downloadvolse-hubzilla-3a9e5f0f98d28959ecc73539a56c66ec2ff10016.tar.gz
volse-hubzilla-3a9e5f0f98d28959ecc73539a56c66ec2ff10016.tar.bz2
volse-hubzilla-3a9e5f0f98d28959ecc73539a56c66ec2ff10016.zip
schema fixes
Diffstat (limited to 'Zotlabs')
-rw-r--r--Zotlabs/Module/Like.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/Zotlabs/Module/Like.php b/Zotlabs/Module/Like.php
index 5ce8ec7f0..71336e8f3 100644
--- a/Zotlabs/Module/Like.php
+++ b/Zotlabs/Module/Like.php
@@ -373,6 +373,10 @@ class Like extends \Zotlabs\Web\Controller {
$links = array(array('rel' => 'alternate','type' => 'text/html', 'href' => $item['plink']));
$objtype = (($item['resource_type'] === 'photo') ? ACTIVITY_OBJ_PHOTO : ACTIVITY_OBJ_NOTE );
+
+ if($objtype === ACTIVITY_OBJ_NOTE && (! intval($item['item_thread_top'])))
+ $objtype = ACTIVITY_OBJ_COMMENT;
+
$body = $item['body'];