]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
accept either salmon endpoint (until they're unified in the spec)
authorJames Walker <walkah@walkah.net>
Fri, 14 May 2010 20:43:21 +0000 (16:43 -0400)
committerJames Walker <walkah@walkah.net>
Fri, 14 May 2010 20:43:41 +0000 (16:43 -0400)
plugins/OStatus/lib/discoveryhints.php

index 80cfbbf15e589698e5903fcf1f02763516ed4e01..ca54a0f5f5547079a551efe9e97e40a34ee15729 100644 (file)
@@ -30,6 +30,7 @@ class DiscoveryHints {
             case Discovery::PROFILEPAGE:
                 $hints['profileurl'] = $link['href'];
                 break;
+            case Salmon::NS_MENTIONS:
             case Salmon::NS_REPLIES:
                 $hints['salmon'] = $link['href'];
                 break;