From: James Walker Date: Wed, 10 Feb 2010 02:50:51 +0000 (-0500) Subject: removing the webfinger hack for Notice::asAtomEntry since salmon can use a profile URL X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=f4ebac503665928fb3102bb957a5c0a0259d5ef9;p=quix0rs-gnu-social.git removing the webfinger hack for Notice::asAtomEntry since salmon can use a profile URL --- diff --git a/plugins/OStatus/OStatusPlugin.php b/plugins/OStatus/OStatusPlugin.php index f7fed1f0db..62ecaf6310 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 .= $notice->asAtomEntry(); - // TODO : need to set author/uri to webfinger acct. more cleanly - $xml = preg_replace('/([^<])*<\/uri>/i', 'acct:'.$acct.'', $xml); - $salmon = new Salmon(); $salmon->post($endpoint_uri, $xml);