diff options
author | Brion Vibber <brion@pobox.com> | 2010-02-21 19:55:53 -0800 |
---|---|---|
committer | Brion Vibber <brion@pobox.com> | 2010-02-21 19:55:53 -0800 |
commit | bd3051b85cdd7a135cac446b13251f739e2c74ac (patch) | |
tree | 61940807cdb21335d9f5e097502520a5542d0d3f /plugins/OStatus | |
parent | 5207783765328a3d6f0101f143edb8807247bcfe (diff) | |
parent | cc18f757a8e6ef854cae89d8947efac505b1fd7c (diff) |
Merge branch 'testing' of gitorious.org:statusnet/mainline into testing
Diffstat (limited to 'plugins/OStatus')
-rw-r--r-- | plugins/OStatus/OStatusPlugin.php | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/plugins/OStatus/OStatusPlugin.php b/plugins/OStatus/OStatusPlugin.php index 5b9e3be2b..548c87711 100644 --- a/plugins/OStatus/OStatusPlugin.php +++ b/plugins/OStatus/OStatusPlugin.php @@ -485,4 +485,14 @@ class OStatusPlugin extends Plugin return true; } + + function onStartGetProfileUri($profile, &$uri) + { + $oprofile = Ostatus_profile::staticGet('profile_id', $profile->id); + if (!empty($oprofile)) { + $uri = $oprofile->uri; + return false; + } + return true; + } } |