mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-03-20 07:49:42 +01:00
Always return SipInfo, even if not visible
This commit is contained in:
parent
f87f1dbaa0
commit
f226d9a7da
@ -174,10 +174,7 @@ 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 ) );
|
||||
return Payload::Ptr( new TomahawkXmppMessage( m_sipInfo ) );
|
||||
}
|
||||
|
||||
void
|
||||
|
Loading…
x
Reference in New Issue
Block a user