summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);