mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-03 12:47:45 +02:00
local results should only load social actions by the local source
This commit is contained in:
@@ -211,7 +211,7 @@ Result::parseSocialActions()
|
|||||||
{
|
{
|
||||||
Tomahawk::SocialAction socialAction;
|
Tomahawk::SocialAction socialAction;
|
||||||
socialAction = it.next();
|
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();
|
m_currentSocialActions[ socialAction.action.toString() ] = socialAction.value.toBool();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user