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:
parent
bcd90a81be
commit
fac969d39b
@ -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() )
|
||||
|
Loading…
x
Reference in New Issue
Block a user