OStatus: support @example.com/path/to/profile mentions as well as @profile@example.com (latter requires webfinger, former doesn't)

Plus misc warnings/notices cleanup in the submission path.
This commit is contained in:
Brion Vibber
2010-03-01 16:36:33 -08:00
parent 0512151eab
commit 493b5479c1
5 changed files with 53 additions and 19 deletions

View File

@@ -698,7 +698,7 @@ class Ostatus_profile extends Memcached_DataObject
{
// Get the canonical feed URI and check it
$discover = new FeedDiscovery();
if ($hints['feedurl']) {
if (isset($hints['feedurl'])) {
$feeduri = $hints['feedurl'];
$feeduri = $discover->discoverFromFeedURL($feeduri);
} else {