1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-03-23 09:19:41 +01:00

sipjreen: Ignore error messages.

This commit is contained in:
Dominik Schmidt 2011-05-11 18:43:10 +02:00
parent bcd90a81be
commit fac969d39b

View File

@ -578,6 +578,12 @@ void JabberPlugin::onNewMessage(const Jreen::Message& message)
if(msg.isEmpty())
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 );
if ( !info.isValid() )