1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-01 03:40:16 +02:00

* Support posting to all TwitterInfoPlugins.

This commit is contained in:
Christian Muehlhaeuser
2012-06-12 05:11:47 +02:00
parent 13c22e0c72
commit 9c1f200905

View File

@@ -138,7 +138,8 @@ TwitterInfoPlugin::pushInfo( Tomahawk::InfoSystem::InfoPushData pushData )
return;
}
if ( !map[ "accountlist" ].toStringList().contains( m_account->accountId() ) )
const QStringList accountList = map[ "accountlist" ].toStringList();
if ( !accountList.contains( "all" ) && !accountList.contains( m_account->accountId() ) )
{
tLog( LOGVERBOSE ) << Q_FUNC_INFO << "Our account not in the list, not tweeting out";
return;