summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorJames Walker <walkah@walkah.net>2010-02-09 21:50:51 -0500
committerJames Walker <walkah@walkah.net>2010-02-09 21:50:51 -0500
commitf4ebac503665928fb3102bb957a5c0a0259d5ef9 (patch)
tree41d897964a45b6ec3a720f44493e142f671b4498 /plugins
parent46f90f7b08381eec80c2e895d061af15b5e1c729 (diff)
removing the webfinger hack for Notice::asAtomEntry since salmon can use a profile URL
Diffstat (limited to 'plugins')
-rw-r--r--plugins/OStatus/OStatusPlugin.php7
1 files changed, 0 insertions, 7 deletions
diff --git a/plugins/OStatus/OStatusPlugin.php b/plugins/OStatus/OStatusPlugin.php
index f7fed1f0d..62ecaf631 100644
--- a/plugins/OStatus/OStatusPlugin.php
+++ b/plugins/OStatus/OStatusPlugin.php
@@ -220,15 +220,8 @@ class OStatusPlugin extends Plugin
continue;
}
- $profile = $notice->getProfile();
-
- $acct = $profile->nickname .'@'. common_config('site', 'server');
-
$xml = '<?xml version="1.0" encoding="UTF-8" ?>';
$xml .= $notice->asAtomEntry();
- // TODO : need to set author/uri to webfinger acct. more cleanly
- $xml = preg_replace('/<uri>([^<])*<\/uri>/i', '<uri>acct:'.$acct.'</uri>', $xml);
-
$salmon = new Salmon();
$salmon->post($endpoint_uri, $xml);