]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Make Atom titles a bit more verbose
authorMikael Nordfeldth <mmn@hethane.se>
Mon, 28 Oct 2013 16:54:34 +0000 (17:54 +0100)
committerMikael Nordfeldth <mmn@hethane.se>
Mon, 28 Oct 2013 16:54:34 +0000 (17:54 +0100)
lib/activityobject.php

index 7af8a821950fece1516c7562f15e63650a44861f..c09a5ed8dd912474cdbebe48696aeda44b47282c 100644 (file)
@@ -438,7 +438,8 @@ class ActivityObject
             $object->type    = (empty($notice->object_type)) ? ActivityObject::NOTE : $notice->object_type;
 
             $object->id      = $notice->uri;
-            $object->title   = 'New ' . ActivityObject::canonicalType($notice->object_type);
+            $object->title   = 'New ' . ActivityObject::canonicalType($notice->object_type)
+                                . ' by ' . $notice->getProfile()->nickname;
             $object->content = $notice->rendered;
             $object->link    = $notice->bestUrl();