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

sipjreen: send Hey-I'm-an-automatic-presence-message as error message, will prevent ping-ponging at least for 0.1+

This commit is contained in:
Dominik Schmidt 2011-05-23 23:41:43 +02:00
parent da0385dfc6
commit 0e92d6913c

View File

@ -601,7 +601,7 @@ void JabberPlugin::onNewMessage(const Jreen::Message& message)
" are trying to reach is probably not signed on, so please try again later!") );
// this is not a sip message, so we send it directly through the client
m_client->send( Jreen::Message ( Jreen::Message::Chat, Jreen::JID(to), response) );
m_client->send( Jreen::Message ( Jreen::Message::Error, Jreen::JID(to), response) );
emit msgReceived( from, msg );
return;