forked from GNUsocial/gnu-social
store reply_to notices as comment activity objects
This commit is contained in:
parent
095e2a74d4
commit
e1d177de7e
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user