mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-03-21 00:09:47 +01:00
Do nothing in handleSipInfo if we have not received valid SipInfo
This commit is contained in:
parent
20d3f1ad72
commit
724fff1b58
@ -451,10 +451,10 @@ Servent::onSipInfoChanged()
|
||||
|
||||
void Servent::handleSipInfo( const Tomahawk::peerinfo_ptr& peerInfo )
|
||||
{
|
||||
// FIXME: Do we need this?
|
||||
// SipInfo info = peerInfo->sipInfo();
|
||||
// if ( !info.isValid() )
|
||||
// return;
|
||||
// We do not have received the initial SipInfo for this client yet, so wait for it.
|
||||
// Each client will have at least one non-visible SipInfo
|
||||
if ( peerInfo->sipInfo().length() == 0 )
|
||||
return;
|
||||
|
||||
foreach ( SipInfo info, peerInfo->sipInfo() )
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user