Mercurial > pidgin.yaz
changeset 18702:413103ddeaac
Updated the XEP-0199 namespace according to the XEP.
author | Andreas Monitzer <pidgin@monitzer.com> |
---|---|
date | Thu, 26 Jul 2007 01:32:21 +0000 |
parents | 97f088385a75 |
children | 033b128f7c21 |
files | libpurple/protocols/jabber/iq.c libpurple/protocols/jabber/ping.c |
diffstat | 2 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/libpurple/protocols/jabber/iq.c Mon Jul 23 15:22:33 2007 +0000 +++ b/libpurple/protocols/jabber/iq.c Thu Jul 26 01:32:21 2007 +0000 @@ -348,7 +348,7 @@ purple_debug_info("jabber", "jabber_iq_parse\n"); - if(xmlnode_get_child_with_namespace(packet, "ping", "http://www.xmpp.org/extensions/xep-0199.html#ns")) { + if(xmlnode_get_child_with_namespace(packet, "ping", "urn:xmpp:ping")) { jabber_ping_parse(js, packet); return; }
--- a/libpurple/protocols/jabber/ping.c Mon Jul 23 15:22:33 2007 +0000 +++ b/libpurple/protocols/jabber/ping.c Thu Jul 26 01:32:21 2007 +0000 @@ -69,7 +69,7 @@ xmlnode_set_attrib(iq->node, "to", jid); ping = xmlnode_new_child(iq->node, "ping"); - xmlnode_set_namespace(ping, "http://www.xmpp.org/extensions/xep-0199.html#ns"); + xmlnode_set_namespace(ping, "urn:xmpp:ping"); jabber_iq_set_callback(iq, jabber_ping_result_cb, NULL); jabber_iq_send(iq);