summaryrefslogtreecommitdiff
path: root/plugins/OStatus/actions/ostatussub.php
diff options
context:
space:
mode:
authorBrion Vibber <brion@pobox.com>2010-03-17 12:15:40 -0700
committerBrion Vibber <brion@pobox.com>2010-03-17 12:15:40 -0700
commit67f2f01c5e1cad743e849cdaaaf11deb6e435844 (patch)
treecad1ddbfef5a9b28bc8c13cf7f4ba6240bf6f7d0 /plugins/OStatus/actions/ostatussub.php
parent1c942afa60b7ec5a8f0855a14d32110837270119 (diff)
parentca5612c451e4dabde107ff2cfbc737a2f69136df (diff)
Merge branch 'testing' into 0.9.x
Diffstat (limited to 'plugins/OStatus/actions/ostatussub.php')
-rw-r--r--plugins/OStatus/actions/ostatussub.php5
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
*