mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-03-21 00:09:47 +01:00
* Set a contact id when creating peerinfo for zeroconf in Servent.
This commit is contained in:
parent
182d0ba8ae
commit
0b061de7a2
@ -910,6 +910,7 @@ Servent::claimOffer( ControlConnection* cc, const QString &nodeid, const QString
|
||||
// this is terrible, actually there should be a way to let this be created by the zeroconf plugin
|
||||
// because this way we rely on the ip being used as id in two totally different parts of the code
|
||||
Tomahawk::peerinfo_ptr peerInfo = Tomahawk::PeerInfo::get( account->sipPlugin(), peer.toString(), Tomahawk::PeerInfo::AutoCreate );
|
||||
peerInfo->setContactId( peer.toString() );
|
||||
peerInfoDebug( peerInfo );
|
||||
conn->addPeerInfo( peerInfo );
|
||||
return conn;
|
||||
|
Loading…
x
Reference in New Issue
Block a user