mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-07-31 11:20:22 +02:00
Always return SipInfo, even if not visible
This commit is contained in:
@@ -174,9 +174,6 @@ void TomahawkXmppMessageFactory::serialize(Payload *extension, QXmlStreamWriter
|
||||
Payload::Ptr
|
||||
TomahawkXmppMessageFactory::createPayload()
|
||||
{
|
||||
if ( ( ( m_sipInfo.length() == 1 ) && ( !m_sipInfo.first().isVisible() ) ) || ( m_sipInfo.length() < 1 ) )
|
||||
return Payload::Ptr( new TomahawkXmppMessage() );
|
||||
else
|
||||
return Payload::Ptr( new TomahawkXmppMessage( m_sipInfo ) );
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user