Commit db363cda authored by mmn's avatar mmn

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

This reverts commit 74ec87c2.
parent 1d1951d4
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment