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:
@@ -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 );
|
||||
|
Reference in New Issue
Block a user