]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
add PoCo preferredUsername for nickname in Profile::asActivityNoun()
authorEvan Prodromou <evan@status.net>
Mon, 22 Feb 2010 12:43:12 +0000 (07:43 -0500)
committerEvan Prodromou <evan@status.net>
Mon, 22 Feb 2010 12:43:12 +0000 (07:43 -0500)
classes/Profile.php

index faa6367b9c26d19b3e8f3df0b8fd7a8941204aeb..7fb2b87bc373127448d52648d277cc9c85be54fb 100644 (file)
@@ -822,6 +822,8 @@ class Profile extends Memcached_DataObject
                                    'type' => 'text/html'),
                      $this->profileurl);
 
+        $xs->element('poco:preferredUsername', null, $this->nickname);
+
         // Portable Contacts stuff
 
         if (isset($this->bio)) {