1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-05 21:57:41 +02: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

View File

@@ -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 );
}