mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-03-20 07:49:42 +01:00
Create SipInfo with the correct information.
This commit is contained in:
parent
f226d9a7da
commit
248a87ccce
@ -663,9 +663,12 @@ Servent::createParallelConnection( Connection* orig_conn, Connection* new_conn,
|
||||
{
|
||||
QList<SipInfo> sipInfo = QList<SipInfo>();
|
||||
SipInfo info = SipInfo();
|
||||
info.setVisible( true );
|
||||
info.setKey( key );
|
||||
info.setNodeId( orig_conn->id() );
|
||||
info.setHost( orig_conn->socket()->peerAddress().toString() );
|
||||
info.setPort( orig_conn->peerPort() );
|
||||
Q_ASSERT( info.isValid() );
|
||||
sipInfo.append( info );
|
||||
connectToPeer( sipInfo, new_conn );
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user