Revert "Don't set the title of a notice to its plain-text content."

This reverts commit 74ec87c27c.
This commit is contained in:
Mikael Nordfeldth 2013-10-08 14:06:27 +02:00
parent 1d1951d4b0
commit db363cdad9

View File

@ -438,6 +438,7 @@ class ActivityObject
$object->type = (empty($notice->object_type)) ? ActivityObject::NOTE : $notice->object_type;
$object->id = $notice->uri;
$object->title = $notice->content;
$object->content = $notice->rendered;
$object->link = $notice->bestUrl();
@ -792,10 +793,7 @@ class ActivityObject
// content (Add rendered version of the notice?)
// displayName
if ($this->title) {
$object['displayName'] = $this->title;
}
$object['displayName'] = $this->title;
// downstreamDuplicates