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

local results should only load social actions by the local source

This commit is contained in:
Leo Franchi
2011-08-14 13:46:49 -04:00
parent 56ddbfe93d
commit d32e177583

View File

@@ -211,7 +211,7 @@ Result::parseSocialActions()
{
Tomahawk::SocialAction socialAction;
socialAction = it.next();
if ( socialAction.timestamp.toUInt() > highestTimestamp )
if ( socialAction.timestamp.toUInt() > highestTimestamp && socialAction.source.toInt() == SourceList::instance()->getLocal()->id() )
{
m_currentSocialActions[ socialAction.action.toString() ] = socialAction.value.toBool();
}