diff --git a/src/sip/twitter/twitter.cpp b/src/sip/twitter/twitter.cpp index 8fa13ef61..d1ef42b33 100644 --- a/src/sip/twitter/twitter.cpp +++ b/src/sip/twitter/twitter.cpp @@ -266,7 +266,7 @@ TwitterPlugin::connectTimerFired() { QHash< QString, QVariant > peerData = m_cachedPeers[screenName].toHash(); - if ( Servent::instance()->connectedToSession( peerData["node"] ) ) + if ( Servent::instance()->connectedToSession( peerData["node"].toString() ) ) { peerData["lastseen"] = QDateTime::currentMSecsSinceEpoch(); m_cachedPeers[screenName] = peerData;