Mercurial > pidgin
changeset 21842:ce3d42470adf
Fix XMPP buddy icons. Somehow a 'VCard' element got changed to a query
author | Sean Egan <seanegan@gmail.com> |
---|---|
date | Mon, 17 Dec 2007 06:51:12 +0000 |
parents | d0a3463633ba |
children | a3bc0682e98d |
files | libpurple/protocols/jabber/buddy.c |
diffstat | 1 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/libpurple/protocols/jabber/buddy.c Mon Dec 17 06:01:59 2007 +0000 +++ b/libpurple/protocols/jabber/buddy.c Mon Dec 17 06:51:12 2007 +0000 @@ -1153,8 +1153,10 @@ 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);