]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - plugins/OStatus/classes/Ostatus_profile.php
wiring in magicsig
[quix0rs-gnu-social.git] / plugins / OStatus / classes / Ostatus_profile.php
index 71885bcdce9618fc012b001e8efea7730950cfb7..0e12f8fc6e14005b50648b22311c832f320e91f6 100644 (file)
@@ -832,7 +832,9 @@ class Ostatus_profile extends Memcached_DataObject
 
     protected static function getActivityObjectNickname($object, $hints=array())
     {
-        // XXX: check whatever PoCo calls a nickname first
+        if (!empty($object->nickname)) {
+            return common_nicknamize($object->nickname);
+        }
 
         // Try the definitive ID