mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-03-19 07:19:42 +01:00
Fix up nonce expectations
This commit is contained in:
parent
ae9fd7bb0f
commit
73f4747028
@ -280,10 +280,10 @@ HatchetSipPlugin::messageReceived( const QByteArray &msg )
|
||||
|
||||
if ( m_sipState == AcquiringVersion )
|
||||
{
|
||||
tLog() << Q_FUNC_INFO << "In acquiring version state, expecting version/nonce information";
|
||||
if ( !retMap.contains( "version" ) || !retMap.contains( "nonce" ) )
|
||||
tLog() << Q_FUNC_INFO << "In acquiring version state, expecting versioninformation";
|
||||
if ( !retMap.contains( "version" ) )
|
||||
{
|
||||
tLog() << Q_FUNC_INFO << "Failed to acquire version or nonce information";
|
||||
tLog() << Q_FUNC_INFO << "Failed to acquire version information";
|
||||
disconnectPlugin();
|
||||
return;
|
||||
}
|
||||
@ -296,12 +296,14 @@ HatchetSipPlugin::messageReceived( const QByteArray &msg )
|
||||
return;
|
||||
}
|
||||
|
||||
/*
|
||||
if ( retMap[ "nonce" ].toString() != m_uuid )
|
||||
{
|
||||
tLog() << Q_FUNC_INFO << "Failed to validate nonce";
|
||||
disconnectPlugin();
|
||||
return;
|
||||
}
|
||||
*/
|
||||
|
||||
m_version = ver;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user