From db363cdad95e95eba966d35c5c67d674448e2669 Mon Sep 17 00:00:00 2001 From: Mikael Nordfeldth Date: Tue, 8 Oct 2013 14:06:27 +0200 Subject: [PATCH] Revert "Don't set the title of a notice to its plain-text content." This reverts commit 74ec87c27c64585f4e0488e0a2b377865f452abb. --- lib/activityobject.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/lib/activityobject.php b/lib/activityobject.php index d2a4f0f838..561421558a 100644 --- a/lib/activityobject.php +++ b/lib/activityobject.php @@ -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 -- 2.39.5