From: Evan Prodromou Date: Mon, 7 Mar 2011 19:27:23 +0000 (-0500) Subject: store reply_to notices as comment activity objects X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=e1d177de7e222db401c92a0343e0453219db4607;p=quix0rs-gnu-social.git store reply_to notices as comment activity objects --- diff --git a/classes/Notice.php b/classes/Notice.php index 7be63b4e9f..d520f4728f 100644 --- a/classes/Notice.php +++ b/classes/Notice.php @@ -363,7 +363,7 @@ class Notice extends Memcached_DataObject } if (empty($object_type)) { - $notice->object_type = ActivityObject::NOTE; + $notice->object_type = (empty($notice->reply_to)) ? ActivityObject::NOTE : ActivityObject::COMMENT; } else { $notice->object_type = $object_type; }