1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-03-21 16:29:43 +01:00

Use nodeId instead of id

This commit is contained in:
Uwe L. Korn 2013-05-14 11:25:37 +02:00
parent d7eea2cc8e
commit 2839a000bd

@ -366,7 +366,7 @@ Servent::registerPeer( const Tomahawk::peerinfo_ptr& peerInfo )
if ( peerInfo->type() == Tomahawk::PeerInfo::Local )
{
peerInfoDebug(peerInfo) << "we need to establish the connection now... thinking";
if ( !connectedToSession( peerInfo->id() ) )
if ( !connectedToSession( peerInfo->nodeId() ) )
{
connectToPeer( peerInfo );
}