Revert "Don't set the title of a notice to its plain-text content."
This reverts commit 74ec87c27c
.
This commit is contained in:
parent
1d1951d4b0
commit
db363cdad9
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user