Chatroom mode

This commit is contained in:
Sarang Bharadwaj 2012-07-02 16:18:29 +05:30
parent 6e1413bf21
commit 7166b46284

View file

@ -65,8 +65,8 @@ TwitterPlugin::TwitterPlugin(Config *config, Swift::SimpleEventLoop *loop, Stora
tweet_timer = m_factories->getTimerFactory()->createTimer(60000);
message_timer = m_factories->getTimerFactory()->createTimer(60000);
//tweet_timer->onTick.connect(boost::bind(&TwitterPlugin::pollForTweets, this));
//message_timer->onTick.connect(boost::bind(&TwitterPlugin::pollForDirectMessages, this));
tweet_timer->onTick.connect(boost::bind(&TwitterPlugin::pollForTweets, this));
message_timer->onTick.connect(boost::bind(&TwitterPlugin::pollForDirectMessages, this));
tweet_timer->start();
message_timer->start();