From e1d177de7e222db401c92a0343e0453219db4607 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Mon, 7 Mar 2011 14:27:23 -0500 Subject: [PATCH] store reply_to notices as comment activity objects --- classes/Notice.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.39.5