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