Mercurial > pidgin
diff src/protocols/jabber/jabber.c @ 2316:ebb5ecb2cd5b
[gaim-migrate @ 2326]
faceprint's patch, slightly modified.
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Thu, 20 Sep 2001 04:29:56 +0000 |
parents | a87ca0aa1840 |
children | 569ae9f2bb89 |
line wrap: on
line diff
--- a/src/protocols/jabber/jabber.c Thu Sep 20 03:16:43 2001 +0000 +++ b/src/protocols/jabber/jabber.c Thu Sep 20 04:29:56 2001 +0000 @@ -1111,12 +1111,14 @@ querynode = xmlnode_get_tag(p->x, "query"); xmlns = xmlnode_get_attrib(querynode, "xmlns"); vcard = xmlnode_get_tag(p->x, "vCard"); + if (!vcard) + vcard = xmlnode_get_tag(p->x, "VCARD"); if (NSCHECK(querynode, NS_ROSTER)) { jabber_handleroster(j, querynode); } else if (NSCHECK(querynode, NS_VCARD)) { jabber_handlevcard(j, querynode, from); - } else if(vcard) { + } else if (vcard) { jabber_handlevcard(j, vcard, from); } else { /* debug_printf("jabber:iq:query: %s\n", xmlns); */