diff options
author | Sarven Capadisli <csarven@status.net> | 2010-02-16 17:10:24 +0100 |
---|---|---|
committer | Sarven Capadisli <csarven@status.net> | 2010-02-16 17:10:24 +0100 |
commit | 385fb947236fcbf429a147be90569db9c7edc152 (patch) | |
tree | b8aeb1d21e4d82ab4cd5aba751024f3c0e3c5e12 /plugins/OStatus/OStatusPlugin.php | |
parent | 3b8d060c293014dd252ef33de8eb0bf6b4d35d32 (diff) | |
parent | a8c2a8261e79dd2047caaa158e7c5609d9835449 (diff) |
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into testing
Diffstat (limited to 'plugins/OStatus/OStatusPlugin.php')
-rw-r--r-- | plugins/OStatus/OStatusPlugin.php | 5 |
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(); |