1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-18 20:04:00 +02:00

Add new contacts to group Tomahawk on the roster

This commit is contained in:
Dominik Schmidt
2011-02-17 18:20:45 +01:00
parent a86de0b56a
commit 741ceff576

View File

@@ -587,6 +587,7 @@ Jabber_p::handleSubscription( const JID& jid, const std::string& /*msg*/ )
qDebug() << Q_FUNC_INFO << jid.bare().c_str();
StringList groups;
groups.push_back( "Tomahawk" );
m_client->rosterManager()->subscribe( jid, "", groups, "" );
return true;
}
@@ -597,6 +598,7 @@ Jabber_p::handleSubscriptionRequest( const JID& jid, const std::string& /*msg*/
{
qDebug() << Q_FUNC_INFO << jid.bare().c_str();
StringList groups;
groups.push_back( "Tomahawk" );
m_client->rosterManager()->subscribe( jid, "", groups, "" );
return true;
}