mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-13 17:43:59 +02:00
Do not queue ACL result if there are no sipInfos
* Temporary fix until nodeId is moved/refactored into PeerInfo out of SipInfo
This commit is contained in:
@@ -437,9 +437,10 @@ Servent::getLocalSipInfos( const QString& nodeid, const QString& key )
|
||||
void
|
||||
Servent::queueForAclResult( const QString& username, const QSet<peerinfo_ptr>& peerInfos )
|
||||
{
|
||||
if ( peerInfos.isEmpty() )
|
||||
if ( peerInfos.isEmpty() || (*peerInfos.begin())->sipInfos().isEmpty() )
|
||||
{
|
||||
// If all peerInfos disappeared, do not queue.
|
||||
// If the peerInfo has not got a sipInfo anymore, do not queue either.
|
||||
return;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user