summaryrefslogtreecommitdiff
path: root/plugins/OStatus
diff options
context:
space:
mode:
authorEvan Prodromou <evan@status.net>2010-02-16 10:18:23 -0500
committerEvan Prodromou <evan@status.net>2010-02-16 10:18:23 -0500
commit813451c9f9aac0690019d936dea2bf9d37ca6c13 (patch)
tree1582ebfc40bf9b16fdfe9321050f94ebc6d76daa /plugins/OStatus
parent5a357d539902089030ae2e8aa645813c0e8173ec (diff)
add a couple of FIXME comments
Diffstat (limited to 'plugins/OStatus')
-rw-r--r--plugins/OStatus/OStatusPlugin.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/plugins/OStatus/OStatusPlugin.php b/plugins/OStatus/OStatusPlugin.php
index 276ca1b3d..3b1329d6c 100644
--- a/plugins/OStatus/OStatusPlugin.php
+++ b/plugins/OStatus/OStatusPlugin.php
@@ -218,6 +218,9 @@ class OStatusPlugin extends Plugin
$count = preg_match_all('/(\w+\.)*\w+@(\w+\.)*\w+(\w+\-\w+)*\.\w+/', $notice->content, $matches);
if ($count) {
foreach ($matches[0] as $webfinger) {
+
+ // FIXME: look up locally first
+
// Check to see if we've got an actual webfinger
$w = new Webfinger;
@@ -238,6 +241,8 @@ class OStatusPlugin extends Plugin
continue;
}
+ // FIXME: this needs to go out in a queue handler
+
$xml = '<?xml version="1.0" encoding="UTF-8" ?>';
$xml .= $notice->asAtomEntry();