|
|
* \param stanza The stanza to be sent. | * \param stanza The stanza to be sent. |
*/ | */ |
void PluginManager::sendStanza( const PsiAccount* account, const QString& stanza) | void PluginManager::sendStanza( const PsiAccount* account, const QString& stanza) |
{ |
{ |
|
#if __WORDSIZE == 64 |
|
qDebug(qPrintable(QString("Want to send stanza to account %2").arg((long int)account))); |
|
#else |
qDebug(qPrintable(QString("Want to send stanza to account %2").arg((int)account))); | qDebug(qPrintable(QString("Want to send stanza to account %2").arg((int)account))); |
|
#endif |
if (!clients_.contains(account) || !verifyStanza(stanza)) | if (!clients_.contains(account) || !verifyStanza(stanza)) |
return; | return; |
clients_[account]->send(stanza); | clients_[account]->send(stanza); |