mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-07-31 11:20:22 +02:00
Fix condition where duplicate connections could happen from twitter
This commit is contained in:
@@ -270,6 +270,7 @@ TwitterPlugin::connectTimerFired()
|
||||
{
|
||||
peerData["lastseen"] = QDateTime::currentMSecsSinceEpoch();
|
||||
m_cachedPeers[screenName] = peerData;
|
||||
continue;
|
||||
}
|
||||
|
||||
if ( QDateTime::currentMSecsSinceEpoch() - peerData["lastseen"].toLongLong() > 1209600000 ) // 2 weeks
|
||||
|
Reference in New Issue
Block a user