1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-06 14:16:32 +02:00

* Set a contact id on Zeroconf peers.

This commit is contained in:
Christian Muehlhaeuser
2013-04-18 17:12:13 +02:00
parent 1ec3a3bb70
commit 182d0ba8ae

View File

@@ -162,6 +162,7 @@ ZeroconfPlugin::lanHostFound( const QString& host, int port, const QString& name
Tomahawk::peerinfo_ptr peerInfo = Tomahawk::PeerInfo::get( this, host, Tomahawk::PeerInfo::AutoCreate );
peerInfo->setSipInfo( sipInfo );
peerInfo->setContactId( host );
peerInfo->setFriendlyName( name );
peerInfo->setType( PeerInfo::Local );
peerInfo->setStatus( PeerInfo::Online );