mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-05 21:57:41 +02:00
sipjreen: Ignore error messages.
This commit is contained in:
@@ -578,6 +578,12 @@ void JabberPlugin::onNewMessage(const Jreen::Message& message)
|
|||||||
if(msg.isEmpty())
|
if(msg.isEmpty())
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
if( message.subtype() == Jreen::Message::Error )
|
||||||
|
{
|
||||||
|
qDebug() << Q_FUNC_INFO << "Received error message from " << from << ", not answering... (Condition: " << message.error()->condition() << ")";
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
SipInfo info = SipInfo::fromJson( msg );
|
SipInfo info = SipInfo::fromJson( msg );
|
||||||
|
|
||||||
if ( !info.isValid() )
|
if ( !info.isValid() )
|
||||||
|
Reference in New Issue
Block a user