Make Atom titles a bit more verbose

This commit is contained in:
Mikael Nordfeldth 2013-10-28 17:54:34 +01:00
parent a5d8707658
commit addd84aa22
1 changed files with 2 additions and 1 deletions

View 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();