]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - plugins/OStatus/classes/Ostatus_profile.php
Fix some remote subscription regressions from f21f78364a9cbde2ca535a3983b384707ad097ae
[quix0rs-gnu-social.git] / plugins / OStatus / classes / Ostatus_profile.php
index 73f5d23229c705df09405a8e34e25e3ad8e3d0c3..f8fda4162adf4e0ff08b560eefc9efef140346bc 100644 (file)
@@ -1464,7 +1464,7 @@ class Ostatus_profile extends Memcached_DataObject
         if (array_key_exists('profileurl', $hints)) {
             try {
                 common_log(LOG_INFO, "Discovery on acct:$addr with profile URL $profileUrl");
-                $oprofile = self::ensureProfile($hints['profileurl'], $hints);
+                $oprofile = self::ensureProfileURL($hints['profileurl'], $hints);
                 self::cacheSet(sprintf('ostatus_profile:webfinger:%s', $addr), $oprofile->uri);
                 return $oprofile;
             } catch (Exception $e) {