From 7166b462847ff4d05b12411d57b81190caee7e80 Mon Sep 17 00:00:00 2001 From: Sarang Bharadwaj Date: Mon, 2 Jul 2012 16:18:29 +0530 Subject: [PATCH] Chatroom mode --- backends/twitter/TwitterPlugin.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backends/twitter/TwitterPlugin.cpp b/backends/twitter/TwitterPlugin.cpp index 7a0c9df2..352a5217 100644 --- a/backends/twitter/TwitterPlugin.cpp +++ b/backends/twitter/TwitterPlugin.cpp @@ -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();