forked from GNUsocial/gnu-social
Work in progress on twitter import daemon
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user