diff options
author | Evan Prodromou <evan@status.net> | 2010-03-16 11:25:18 -0500 |
---|---|---|
committer | Evan Prodromou <evan@status.net> | 2010-03-16 11:25:18 -0500 |
commit | f21f78364a9cbde2ca535a3983b384707ad097ae (patch) | |
tree | a9e0836d7aaa42d7a0f272213d11cbccef9e354b /plugins/OStatus/actions/ostatussub.php | |
parent | c1e96cbdefa66e66815c421378b9452d7c8d5548 (diff) |
Change the workflow to get better discovery
Tried to re-structure the workflow of discovery to get more and richer
data and hints.
Diffstat (limited to 'plugins/OStatus/actions/ostatussub.php')
-rw-r--r-- | plugins/OStatus/actions/ostatussub.php | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/plugins/OStatus/actions/ostatussub.php b/plugins/OStatus/actions/ostatussub.php index 65dee2392..07081c2c6 100644 --- a/plugins/OStatus/actions/ostatussub.php +++ b/plugins/OStatus/actions/ostatussub.php @@ -149,7 +149,7 @@ class OStatusSubAction extends Action $fullname = $entity->fullname; $homepage = $entity->homepage; $location = $entity->location; - + if (!$avatar) { $avatar = Avatar::defaultImage(AVATAR_PROFILE_SIZE); } @@ -242,7 +242,7 @@ class OStatusSubAction extends Action if (Validate::email($this->profile_uri)) { $this->oprofile = Ostatus_profile::ensureWebfinger($this->profile_uri); } else if (Validate::uri($this->profile_uri)) { - $this->oprofile = Ostatus_profile::ensureProfile($this->profile_uri); + $this->oprofile = Ostatus_profile::ensureProfileURL($this->profile_uri); } else { $this->error = _m("Sorry, we could not reach that address. Please make sure that the OStatus address is like nickname@example.com or http://example.net/nickname"); common_debug('Invalid address format.', __FILE__); @@ -339,7 +339,6 @@ class OStatusSubAction extends Action } } - /** * Handle posts to this form * |