mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-12 00:54:20 +02:00
Fix twitter saved offer key issue, maybe
This commit is contained in:
@@ -71,16 +71,14 @@ TwitterPlugin::TwitterPlugin( const QString& pluginId )
|
||||
qDebug() << Q_FUNC_INFO;
|
||||
|
||||
if ( !Database::instance() || Database::instance()->dbid() != twitterSavedDbid() )
|
||||
{
|
||||
if ( !twitterSavedDbid().isEmpty() ) //remove eventually (post 0.2), here for migration purposes
|
||||
{
|
||||
setTwitterCachedDirectMessagesSinceId( 0 );
|
||||
setTwitterCachedFriendsSinceId( 0 );
|
||||
setTwitterCachedMentionsSinceId( 0 );
|
||||
setTwitterCachedPeers( QHash< QString, QVariant >() );
|
||||
}
|
||||
|
||||
setTwitterSavedDbid( Database::instance()->dbid() );
|
||||
}
|
||||
|
||||
m_checkTimer.setInterval( 150000 );
|
||||
m_checkTimer.setSingleShot( false );
|
||||
|
Reference in New Issue
Block a user