]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - plugins/OStatus/classes/Ostatus_profile.php
Pull <atom:author> info as well as <activity:actor> when we have an old-style Activit...
[quix0rs-gnu-social.git] / plugins / OStatus / classes / Ostatus_profile.php
index 5595a9d29825cc7350f87f348bedea38d6bc8256..e33509c47146a284aca9d55cb310e58f1846e962 100644 (file)
@@ -1170,11 +1170,7 @@ class Ostatus_profile extends Memcached_DataObject
     protected static function getActivityObjectProfileURI($object)
     {
         if ($object->id) {
-            // Possibly an upstream bug; tag: URIs are rejected unless you
-            // explicitly ask for them. All other schemes are accepted for
-            // basic URI validation without asking.
-            if (Validate::uri($object->id) ||
-                Validate::uri($object->id, array('allowed_scheme' => array('tag')))) {
+            if (ActivityUtils::validateUri($object->id)) {
                 return $object->id;
             }
         }