]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
DiscoveryHints now properly returns hcard url
authorMikael Nordfeldth <mmn@hethane.se>
Mon, 23 Jun 2014 18:51:00 +0000 (20:51 +0200)
committerMikael Nordfeldth <mmn@hethane.se>
Mon, 23 Jun 2014 18:51:37 +0000 (20:51 +0200)
plugins/OStatus/lib/discoveryhints.php

index 47936864068ead647413df34e53ef4bc61e66414..ec1e7faa7cbc54b84f027194fdec011528262b7b 100644 (file)
@@ -40,7 +40,8 @@ class DiscoveryHints {
                 }
                 break;
             case Discovery::HCARD:
-                $hints['hcardurl'] = $link->href;
+            case Discovery::MF2_HCARD:
+                $hints['hcard'] = $link->href;
                 break;
             default:
                 break;