mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-03-22 16:59:58 +01:00
Fix condition where duplicate connections could happen from twitter
This commit is contained in:
parent
81065243f4
commit
58692f424d
@ -270,6 +270,7 @@ TwitterPlugin::connectTimerFired()
|
||||
{
|
||||
peerData["lastseen"] = QDateTime::currentMSecsSinceEpoch();
|
||||
m_cachedPeers[screenName] = peerData;
|
||||
continue;
|
||||
}
|
||||
|
||||
if ( QDateTime::currentMSecsSinceEpoch() - peerData["lastseen"].toLongLong() > 1209600000 ) // 2 weeks
|
||||
|
Loading…
x
Reference in New Issue
Block a user