store reply_to notices as comment activity objects

This commit is contained in:
Evan Prodromou 2011-03-07 14:27:23 -05:00
parent 095e2a74d4
commit e1d177de7e

View File

@ -363,7 +363,7 @@ class Notice extends Memcached_DataObject
} }
if (empty($object_type)) { if (empty($object_type)) {
$notice->object_type = ActivityObject::NOTE; $notice->object_type = (empty($notice->reply_to)) ? ActivityObject::NOTE : ActivityObject::COMMENT;
} else { } else {
$notice->object_type = $object_type; $notice->object_type = $object_type;
} }