Remove std::couts

This commit is contained in:
HanzZ 2011-10-18 22:42:36 +02:00
parent b1e4aae55b
commit 9f2c95fe77
4 changed files with 2 additions and 7 deletions

View file

@ -735,7 +735,6 @@ class SpectrumNetworkPlugin : public NetworkPlugin {
}
m_vcards[user + name] = id;
std::cout << name << " " << purple_account_get_username(account) << "\n";
if (KEYFILE_BOOL("backend", "no_vcard_fetch") && name != purple_account_get_username(account)) {
PurpleNotifyUserInfo *user_info = purple_notify_user_info_new();
notify_user_info(purple_account_get_connection(account), name.c_str(), user_info);
@ -1071,7 +1070,6 @@ static void buddyListUpdate(PurpleBuddyList *list, PurpleBlistNode *node) {
}
static void buddyPrivacyChanged(PurpleBlistNode *node, void *data) {
std::cout << "PRIVACY CHANGED\n";
if (!PURPLE_BLIST_NODE_IS_BUDDY(node))
return;
buddyListUpdate(NULL, node);
@ -1260,7 +1258,6 @@ static void *notify_user_info(PurpleConnection *gc, const char *who, PurpleNotif
}
bool ownInfo = name == purple_account_get_username(account);
std::cout << "RECEIVED " << name << " " << purple_account_get_username(account) << "\n";
if (ownInfo) {
const gchar *displayname = purple_connection_get_display_name(gc);

View file

@ -130,7 +130,6 @@ std::string Buddy::getSafeName() {
// Transport::instance()->protocol()->prepareUsername(name, purple_buddy_get_account(m_buddy));
if (getFlags() & BUDDY_JID_ESCAPING) {
name = Swift::JID::getEscapedNode(name);
std::cout << "OUT '" << getName() << "' '" << name << "'\n";
}
else {
if (name.find_last_of("@") != std::string::npos) {

View file

@ -468,7 +468,7 @@ bool MySQLBackend::getBuddies(long id, std::list<BuddyInfo> &roster) {
BOOST_FOREACH(BuddyInfo &b, roster) {
if (buddy_id == b.id) {
std::cout << "Adding buddy info setting " << key << "\n";
// std::cout << "Adding buddy info setting " << key << "\n";
b.settings[key] = var;
buddy_id = -1;
}
@ -492,7 +492,7 @@ bool MySQLBackend::getBuddies(long id, std::list<BuddyInfo> &roster) {
break;
}
if (buddy_id == b.id) {
std::cout << "Adding buddy info setting " << key << "=" << val << "\n";
// std::cout << "Adding buddy info setting " << key << "=" << val << "\n";
b.settings[key] = var;
buddy_id = -1;
}

View file

@ -164,7 +164,6 @@ void User::setConnected(bool connected) {
}
void User::handlePresence(Swift::Presence::ref presence) {
std::cout << "PRESENCE " << presence->getFrom().toString() << "\n";
if (!m_connected) {
// we are not connected to legacy network, so we should do it when disco#info arrive :)
if (m_readyForConnect == false) {