im.pidgin.pidgin: 5f896091e0d9891541784e7724b9ec0a313f7f01

seanegan at pidgin.im seanegan at pidgin.im
Mon Dec 17 02:50:41 EST 2007


-----------------------------------------------------------------
Revision: 5f896091e0d9891541784e7724b9ec0a313f7f01
Ancestor: e189ac44f29bdca7e788c1ff349e2096e91e9021
Author: seanegan at pidgin.im
Date: 2007-12-17T06:51:12
Branch: im.pidgin.pidgin

Modified files:
        libpurple/protocols/jabber/buddy.c

ChangeLog: 

Fix XMPP buddy icons. Somehow a 'VCard' element got changed to a query

-------------- next part --------------
============================================================
--- libpurple/protocols/jabber/buddy.c	7600b5a5d174ff3c05ca5d78a64381e5f3fab6a1
+++ libpurple/protocols/jabber/buddy.c	64b5d98022eb0426a7f0e0caaf846a42e8d9d793
@@ -1153,8 +1153,10 @@ void jabber_vcard_fetch_mine(JabberStrea
 
 void jabber_vcard_fetch_mine(JabberStream *js)
 {
-	JabberIq *iq = jabber_iq_new_query(js, JABBER_IQ_GET, "vcard-temp");
-
+	JabberIq *iq = jabber_iq_new(js, JABBER_IQ_GET);
+	
+	xmlnode *vcard = xmlnode_new_child(iq->node, "vCard");
+	xmlnode_set_namespace(vcard, "vcard-temp");
 	jabber_iq_set_callback(iq, jabber_vcard_save_mine, NULL);
 
 	jabber_iq_send(iq);


More information about the Commits mailing list