bool MSNP::CheckAvatar(string msnobject, string passport) { BPath filepath = GetFilename(msnobject); BEntry entry = BEntry(filepath.Path(), true); if (entry.Exists()) { if (passport != "" && filepath != "") SendBuddyIcon(filepath.Path(), passport); return true; } return false; }
void MSNP::gotContactDisplayPicture(MSN::SwitchboardServerConnection* conn, MSN::Passport passport, std::string filename ) { //printf("MSNP::gotContactDisplayPicture %s\n", filename.c_str()); SendBuddyIcon(filename, passport); conn->disconnect(); }
void Jabber::GotVCard(JabberContact* contact) { SendContactInfo(contact->GetJid().String()); SendBuddyIcon(contact->GetJid().String()); }