Work in progress on twitter import daemon

This commit is contained in:
Brion Vibber
2010-10-29 14:12:18 -07:00
parent d743539cf7
commit 62408fef09
4 changed files with 85 additions and 2 deletions

View File

@@ -274,7 +274,14 @@ class TwitterBridgePlugin extends Plugin
function onEndInitializeQueueManager($manager)
{
if (self::hasKeys()) {
// Outgoing notices -> twitter
$manager->connect('twitter', 'TwitterQueueHandler');
// Incoming statuses <- twitter
$manager->connect('tweetin', 'TweetInQueueHandler');
// Control messages from our web interface to the import daemon
$manager->connect('tweetctl', 'TweetCtlQueueHandler', 'twitter');
}
return true;
}