mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-03-23 09:19:41 +01:00
Better way to get the id of a peer
This commit is contained in:
parent
c8384ec757
commit
612fd27564
@ -358,7 +358,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->sipInfo().first().nodeId() ) )
|
||||
if ( !connectedToSession( peerInfo->id() ) )
|
||||
{
|
||||
connectToPeer( peerInfo );
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user