1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-09-03 02:42:52 +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 0b4765c728
commit 4a1c5aef33

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