mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-30 17:20:26 +02:00
* Don't try to process PING/PONG messages.
This commit is contained in:
@@ -182,10 +182,12 @@ ControlConnection::handleMsg( msg_ptr msg )
|
|||||||
{
|
{
|
||||||
qDebug() << "Received Connection PING, sending PONG.";
|
qDebug() << "Received Connection PING, sending PONG.";
|
||||||
sendMsg( Msg::factory( QByteArray(), Msg::PONG ) );
|
sendMsg( Msg::factory( QByteArray(), Msg::PONG ) );
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
else if ( msg->is( Msg::PONG ) )
|
else if ( msg->is( Msg::PONG ) )
|
||||||
{
|
{
|
||||||
qDebug() << "Received Connection PONG, nice.";
|
qDebug() << "Received Connection PONG, nice.";
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
// All control connection msgs are JSON
|
// All control connection msgs are JSON
|
||||||
|
Reference in New Issue
Block a user